Skip to Content

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

  1. Go to Data Studio > Data Apps and open your data app.

  2. Select the Embeds tab.

  3. Find the dashboard’s row. The Key column shows the dashboard ID. Select the copy button next to it.

    Embeds tab of the Customer Portal data app, with the Regional Pipeline embed and its Key
    The Key column shows the ID to use in dashboard-id.
  4. Or select Get snippet. The dashboard-id attribute 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.

On this page