dbt
Adding dbt to your decube connections helps you monitor your transformations via our Data Quality model and see metadata on your dbt models and jobs directly synced to the Data Catalog.
Last updated
Adding dbt to your decube connections helps you monitor your transformations via our Data Quality model and see metadata on your dbt models and jobs directly synced to the Data Catalog.
Last updated
This documentation is for the cloud version of dbt which is dbt Cloud. To see documentation on how to connect the open source version of dbt, please check out the documentation for dbt core here.
This connection requires Service Account Tokens to be generated in dbt Cloud, which is only accessible to dbt accounts on Team and Enterprise plans.
Service Account API Key
Account ID
Tenancy Type
Access URL (if non DBT multi-tenant)
Discovery URL (if non DBT multi-tenant)
From the My Account page, select on the dbt tile to be brought to the dbt connection form.
Account ID
To get your Account ID, you can refer to the numbers at the end of the accounts
path component of the URL (https://cloud.getdbt.com/settings/accounts/{account_id}
).
API Key
To get your API Key, please read on to the next section to generate your service token for your dbt account.
DBT Tenancy Type
Usually this will be US Multi Tenant for most customers. To verify, check the domain you log in to your DBT with
US Multi Tenant - cloud.getdbt.com
EMEA Multi Tenant - emea.dbt.com
APAC Multi Tenant - au.dbt.com
If your DBT domain contains other URLs, you must choose Other
as the tenancy type and provide item 4 and 5
Access URL (For Other
tenancy type)
Navigate to your DBT Account Settings and below the Account Information pane, you can find the Access URL. You can follow the guide from DBT here
Discovery URL (For Other
tenancy type)
Navigate to your DBT Account Settings and below the Account Information pane, you can find the Discovery API URL. You can follow the guide from DBT here
Log into your dbt account. From the Dashboard, click on Account Settings.
Within Account Settings, find the setting for Service Tokens on the left sidebar.
Within the Service Tokens section, click on + New Token
.
Within the New Service Token
page, you can set any token name, such as "decube". Then, click on the + Add
button.
Select Job Admin
and add all the Projects that you would like to connect decube with. Then, click on Save
and the bottom right.
A token will be generated. Use the Copy
button to copy the token into your clipboard.
Insert the Service token that you've copied into the "API Key" of the connection form, then test the connection. If it is successful, you can now add the name and submit the connection.
If there is any issues or questions related with connecting your data sources, please reach out to us via our Live chat for support.