Dashboards for Client Groups
Segmenting Dashboards based on user accounts/client groups.
Last updated
Segmenting Dashboards based on user accounts/client groups.
Last updated
Each client_id
is associated with a client_group
. Based on the group, they will be served a specific dashboard.
client_id | client_group |
---|---|
Note: The above table is a representation of the client organization table maintained on your database.
Implementation Outline:
Master Dashboard: Create a Master Dashboard containing all metrics.
Client Dashboards: For each client group, create separate dashboards that pull metrics from the Master Dashboard.
Automatic Sync: Updates in the Master Dashboard reflect in all client dashboards using those metrics.
Embedding: Embed each Client Group Dashboard to display only the relevant metrics per group.
Define IDs for each dashboard corresponding to the client groups.
To obtain a guest token from DataBrain, utilize our REST API from your backend system.
Simple Request Body:
This function uses the fetched token and dashboard ID for the appropriate client group to embed the dashboard.
When the client logs in, their client_group
determines which dashboard is embedded.
This consolidated approach uses the client_id
and client_group
table to control access to specific dashboards. One token for all dashboards and you change the dashboard-id
based on clientGroup
1
Group A
2
Group B
3
Group C
4
Group A
5
Group B
6
Group C
7
Group A
8
Group B
9
Group C
10
Group A