Prepare to run the dbt Cloud collector
Configure dbt Cloud and create authentication tokens before running the collector.
Before you begin
Role required: none
About this task
Complete these preparation tasks before running the dbt Cloud collector.
Procedure
Obtain account, project, job, and run IDs
Obtain required IDs from dbt Cloud URLs for collector configuration.
Before you begin
Role required: none
About this task
You’ll use this information when configuring the collector for metadata harvesting.
Procedure
Create a user token
Create a personal access token for metadata harvesting.
Before you begin
Role required: admin
Plan required: Team.
About this task
The Team plan doesn’t support service account tokens. You must create a personal access token using a dedicated user account.
Procedure
What to do next
See the dbt Cloud user tokens documentation for additional information.
Create a service token
Create a service account token with the required permissions for metadata harvesting.
Before you begin
Role required: admin
Plan required: Enterprise.
About this task
For Enterprise accounts, service account tokens are commonly used for production systems.
Procedure
Update job execution settings
Enable documentation generation in dbt Cloud job settings. This setting must be enabled to successfully harvest dbt resources.
Before you begin
Role required: admin
This setting must be enabled to successfully harvest dbt resources.
Procedure
- Navigate to .
- From the Environment list, select the environment you want to run the collector against.
- Select the job associated with your environment.
- Select Settings.
- Under Execution Settings, select Generate docs on run.