Embedding

JWT authentication

Validates a JWT signed by the embedding application and creates a Basedash session for the user specified in the JWT claims. On success, redirects to the organization dashboard.

get/api/sso/jwt

Request

  • Base URL
    https://charts.basedash.com
  • Auth
    none required

Query parameters

jwtstring required

JWT token signed with your organization embed secret (HS256)

theme'light' | 'dark' | 'auto'

Override the theme

hide_org_name'true' | 'false'

Hide the organization name in the sidebar. Persists for the iframe session.

hide_chat'true' | 'false'

Hide the Chat page and chat panel. Persists for the iframe session.

hide_dashboards'true' | 'false'

Hide dashboards. Persists for the iframe session.

hide_insights'true' | 'false'

Hide insights. Persists for the iframe session.

hide_automations'true' | 'false'

Hide automations. Persists for the iframe session.

hide_models'true' | 'false'

Hide models. Persists for the iframe session.

hide_suggested_prompts'true' | 'false'

Hide suggested prompts in the chat input. Persists for the iframe session.

hide_sidebar'true' | 'false'

Do not render the left sidebar, with no way to reopen it. Persists for the iframe session.

dashboard_idstring

Open the embed on this dashboard

tabstring

With dashboard_id, the dashboard tab to open

automation_idstring

Open the embed on this automation

insight_idstring

Open the embed on this insight

model_idstring

Open the embed on this model

chat_idstring

Open the embed on this chat

Changes

No recorded changes to this operation across all 1 revision of this API.