This page will help you to get a guest token which you can use to access the dashboard metrics in your app using the databrain plugin.
Open API Token Settings
Locate your API Key
Send POST request from Postman
https://api.usedatabrain.com/api/v1/guest-token/create
Set Bearer Token
Set raw JSON body in Postman
clientId
which should come from your user’s session—since this API will be called from your app ideally.Advanced JSON body with RLS (Row Level Security)
Send the Request and Retrieve the Token