๐ŸŽ†Connect to dbt

Once youโ€™ve set up the initial data warehouse connection, you can add dbt jobs linked to the warehouse account.

circle-info

NOTE: this requires Job Viewer role access to a dbt Cloud account.

Adding DBT

  1. In the Connections tab, click on the connection that should have linked dbt jobs.

  2. Go to the dbt connections section and click the Add dbt connection button.

  3. Fill in the form with the required details. See below for additional details.

Form Details

chevron-rightAccount and job IDhashtag

In dbt Cloud, navigate to the Jobs list under the Deploy menu. Click on the job that you want to connect to Arcwise (if you have multiple jobs, please select the job that builds your dbt docs, i.e. it includes a dbt docs generate step). The URL should be in the form

https://cloud.getdbt.com/next/deploy/[ACCOUNT-ID]/projects/[PROJECT_ID]/jobs/[JOB_ID]

Copy and paste the account and job numbers into the Arcwise form.

chevron-rightService tokenhashtag

See instructions in dbt docs for generating a service tokenarrow-up-right. The token must have access to both the Metadata API and Job Admin.

chevron-rightSemantic Layer Proxy URLhashtag

If you want to allow Arcwise to use dbt metricsarrow-up-right, then youโ€™ll need to link Arcwise to the dbt Semantic Layer. Follow the semantic layer setup instructions from the dbt docsarrow-up-right (if you havenโ€™t already) and paste the proxy URL from your jobโ€™s environment into Arcwise.

Indexing

After the dbt connection has been successfully saved, navigate to the โ€œTablesโ€ tab and you should see the models and metrics belonging to your dbt job.

circle-info

By default, Arcwise will index all models and metrics linked to the job that have not been marked as hidden from dbt docs. To hide things from Arcwise, you can set the docs config to show: false - please see the official dbt docsarrow-up-right for how to do this for an individual model or entire folders.

Last updated