Dashboard for Multiple Clients

One universal dynamic dashboard for multiple clients

  1. Set up multi-data source workspace with one universal dynamic dashboard

Kindly refer the below link:

Multi Datasource WorkspaceSteps to Set Up and Use Multi-Datasource Switching in Your Dashboard.

  1. Embedding

When embedding the dashboard for a client:

  • Generate a guest token via DataBrain’s API.

  • Pass the client's unique ID in the token payload.

  • DataBrain will automatically scope all metric queries based on the passed Client ID.

To obtain a guest token from DataBrain, utilize our REST API from your backend system.

Cloud version:

Post: <https://api.usedatabrain.com/api/v1/guest-token/create>

Self-hosted version:

Post: <SELF_HOSTED_URL>/api/v1/guest-token/create

Simple Request Body:

{
  "clientId": "id", //"None" if no tenancy available 
  "workspaceName": "workspacename",
  "datasourceName":"data source name" 
}

This ensures that the same dashboard shows different, correct data for each client — securely and efficiently.

Last updated