Finding Your IDs
Find a dashboard ID
Get the value for the dashboard-id attribute of dbn-dashboard.
The dashboard ID is the short ID you give a dashboard, for example revenue-overview. It is not the dashboard name and not the long ID in the app’s URL.
Steps
-
Go to Data Studio > Data Apps and open your data app.
-
Select the Embeds tab.
-
Find the dashboard’s row. The Key column shows the dashboard ID. Select the copy button next to it.

The Key column shows the ID to use in dashboard-id. -
Or select Get snippet. The
dashboard-idattribute in the code has the same value.
<dbn-dashboard token="GUEST_TOKEN" dashboard-id="revenue-overview"></dbn-dashboard>You have the dashboard ID. Next, create a guest token.
Where the ID comes from
You set the Dashboard ID when you create or edit a dashboard. If you change it, update every page that embeds the dashboard.
If something goes wrong
- The dashboard is not in the Embeds list. Add it first. Create a data app and embed
- The console says
dbn-dashboard: dashboard-id "..." looks like a name, not an id. You used the dashboard name. Use the Key. - The embed shows
DASHBOARD_NOT_FOUND. The dashboard is not an embed of the data app the token was made for.