đŸ› ī¸
Developer docs
Start BuildingGuides
  • ✨Getting Started
  • đŸŽ›ī¸Self Hosted Config
  • âœī¸SSO Login
    • Saml Identity Provider (Idp)
    • Oidc Identity Provider (Idp)
  • đŸŽžī¸Framework Specific Guide
    • âš›ī¸Reactjs
    • âš›ī¸Nextjs
    • âš›ī¸Vuejs
    • âš›ī¸Angular
    • âš›ī¸Svelte
    • âš›ī¸Solid
    • âš›ī¸Vanilla JS
  • â„šī¸Token
  • â„šī¸How to embed?
  • đŸ›ī¸Multi-Tenant Access Control
  • Embed using iFrame (Not Recommended approach)
  • 🔑License Key Validation for Self-Hosted App
  • Test
  • 👩‍đŸ’ģHelpers
    • âœŗī¸Token Body
    • ✅Options
      • Custom Fiscal Year filter setup in DataBrain
    • đŸˆ‚ī¸Server Event
    • Embed Functions
    • Override Language
    • âœˆī¸Embedding Architecture
    • âœˆī¸LLM Architecture
    • ✨LLM Connectors
      • Open AI
      • Claude AI
      • Azure Open AI
      • Llama
      • Mixtral
    • 🆔Workspace Name
    • 🆔Dashboard ID
    • 🆔Metric ID
    • 🆔API Token
    • 🆔End User Metric Creation
    • Embedding APIs
      • Sync Datasource
  • Metric App Filter
  • Dashboard App Filter
  • Chat Mode
    • Step 1: Create Datamart and Workspace
    • Step 2: Create Data App and Embed ID
  • ✨Solutions Alchemy
    • Dashboards for Client Groups
    • Dashboard for Multiple Clients
    • Embedding: Role based Dashboard Filtering
    • Localized Currency Symbols
    • Manage Metrics
Powered by GitBook
On this page

How to embed?

In this section, we will create a data app that will include the configurations that are needed to embed dashboard.

PreviousTokenNextMulti-Tenant Access Control

Last updated 8 days ago

  • Navigate to the "Data" section in your app.

  • Look for the "Data Apps" option and select it.

  • Click on "New Data App" button. Provide the required information including naming it and configuring basic settings.

Once API Token is generated, create "guest token" with "client ID".

  • Guest tokens are used for allowing temporary, limited access to your Data App.

  • Go to postman or any other API platform.

  • Set the URL as https://api.usedatabrain.com/api/v2/guest-token/create.

  • In the Authorization tab, select type as "Bearer Token" and in token field add the "API token" that you created in your data app.

  • You'll need to specify a Client ID, which is a unique identifier for the client or user you're creating the token for and the data app name that you created above in the body.

  • Click on "Send". The generated guest token will be associated with the provided Client ID and data app.

Use the guest token and the embed ID to test your embed.

Refer to "" for generating embed ID and refer "" for generating api token that will be used to generate "guest token" later.

â„šī¸
Dashboard ID
API TOKEN