How it works
- One dbt platform account for each organization. An Organization Admin connects the account with OAuth.
- One dbt platform project for each Omni connection. A Connection Admin picks the project and the environment that Omni reads.
Requirements
To follow the steps in this guide, you’ll need:- Organization Admin permissions in Omni
- A dbt platform plan that includes the Discovery API: Starter, Enterprise, or Enterprise+. See the dbt documentation for current plan requirements.
- The account access URL and the Discovery API URL for your dbt platform account.
- A dbt platform user who can access the project or projects you’d like to use. Omni inherits the permissions of the dbt platform user who connects to it.
- dbt exposures for your dashboards and apps. See push exposures from Omni.
Connect dbt platform
- In Omni, navigate to Settings > Integrations and click the dbt platform tab.
- Fill in the following fields:
- In Account access URL, enter the access URL from Account settings > Access URLs in dbt platform. For example,
https://ab123.us1.dbt.com. - In Discovery API URL, enter the Discovery API URL from the same page. For example,
https://ab123.metadata.us1.dbt.com.
- In Account access URL, enter the access URL from Account settings > Access URLs in dbt platform. For example,
- Click Connect dbt platform.
- Sign in to dbt platform.
- On the consent screen, opt into Keep session alive, then approve access.
On the first connect, Omni registers an app named Omni in your dbt platform account’s app integrations. If you reconnect the same account, Omni uses the same app again.
Pick a dbt platform project for a connection
Once dbt platform is connected, you can pick the project and environment that Omni uses for each connection.- In Omni, navigate to Settings > Connections.
- Select the connection you want to manage.
- Click the dbt tab.
- In the dbt platform project section, select a project from the list.
- Click Save.
- Select an Environment. Omni reads data health from this environment.
- Click Save.
Manage the connection
The dbt platform tab shows the account name, access URL, account ID, the Omni user who connected it, and when Omni last refreshed the token. Connection Admins can see this tab. Only Organization Admins can use these actions:- Test connection reads the account and its projects, and checks the Discovery API URL. If the test succeeds, Omni shows the account name and the number of projects it can see.
- Reconnect opens a dialog with both URLs filled in. Use it to restore an expired connection.
-
Disconnect disconnects dbt platform for the whole organization. Omni keeps each connection’s project settings. If you connect the same account again, the settings come back.
dbt platform has no way for Omni to revoke access. After you disconnect, the session in dbt platform stays until it expires.
Session expiry
dbt platform disconnects Omni after seven days without use. Omni uses the connection when it loads data health for a dashboard or app, when an Organization Admin clicks Test connection, and when it lists a connection’s projects. If nothing uses the connection for seven days, an Organization Admin must reconnect.dbt data health on dashboards and apps
When dbt has data health for a dashboard or app, Omni shows a dbt icon with a status badge on the published dashboard or app:
Click the icon to open the data health popover. It shows when the last dbt run finished, and has these sections:
- Freshness, such as Data is fresh or Data may be stale, with counts of upstream sources by freshness status
- Quality, such as Data quality passed or Data quality degraded, with counts of upstream models and tests by result, and the test coverage
- See more details, which opens the exposure’s page in dbt platform. Viewers need a dbt platform login to open it.
Show data health on your content
Push exposures from Omni for your published dashboards and apps, then merge the pull request in your dbt repository. dbt records the exposures the next time a job runs on that project. After the job runs, a new exposure can take about 15 minutes to show its health in Omni. Exposures are a snapshot. If a dashboard starts to use other dbt models, push exposures again and run a dbt platform job to update its health. If Omni can’t reach dbt platform, the indicator shows the last health that Omni read.Who sees data health
Users with Restricted Querier permissions or higher on the dashboard’s or app’s model see the indicator. The indicator shows only on published dashboards and apps. It doesn’t show on drafts, on branches, or in embedded content.Troubleshooting
The data health indicator doesn't show
The data health indicator doesn't show
Check each of these:
- You have Restricted Querier permissions or higher on the model.
- You’re looking at the published dashboard or app, not a draft, a branch, or an embed.
- The dbt platform tab in Settings > Integrations shows a Connected badge.
- The connection’s dbt tab has a dbt platform project and an environment.
- dbt has an exposure for the dashboard or app in that environment. Push exposures, merge the pull request, and run a dbt platform job.
- The exposure has upstream models or sources. dbt shows no health for an exposure with nothing upstream.
See more details opens a dbt platform sign-in page
See more details opens a dbt platform sign-in page
The link opens dbt platform, which needs a dbt platform login. Users without a dbt platform account can’t see the details page.
Next steps
- Push exposures to dbt — Generate exposures for your published dashboards and apps, so Omni can show their data health.
- Embed dbt data health tiles — Embed dbt’s own data health tile in a dashboard or app with a service token.
- Getting started with dbt — Connect your dbt Git repository to sync metadata and author models.

