dbt Cloud API Configuration
This guide shows you how to integrate dbt Cloud with Collate using the dbt Cloud API.Note:
This guide is ONLY for dbt Cloud users. If you’re using dbt Core, see dbt Core Configuration for storage setup options.
Prerequisites Checklist
Step 1: Get dbt Cloud API Token
1.1 Create API Token
- Log in to dbt Cloud (cloud.getdbt.com)
- Click your Profile icon (top right)
- Go to Account Settings
- Click API Access in the left sidebar
- Click + Create Token
- Configure the token:
- Description:
Collate Integration - Permission:
Account Viewer
- Description:
- Click Save
- Copy the token immediately - you won’t see it again!
1.2 Find Your Account ID
Method A: From URL (Easiest) When logged into dbt Cloud, look at the browser URL:1.3 Identify Your dbt Cloud Region
dbt Cloud has regional deployments:
How to check: Look at your dbt Cloud login URL.
1.4 (Optional) Get Project/Job IDs
By default, Collate will use the most recent successful run from any project/job. To filter to a specific project or job, you’ll need their IDs. Get IDs from dbt Cloud UI:- Account ID: In URL:
https://cloud.getdbt.com/#/accounts/{ACCOUNT_ID}/... - Project ID: Go to Account Settings > Projects, click a project, ID is in the URL
- Job ID: Go to Deploy > Jobs, click a job, ID is in the URL
Step 2: Configure Collate
Configuration
- In the left navigation menu, select Connections > Database Services.
- Click the database service you want to configure(e.g., “production-snowflake”)
- Important: Must match the database dbt connects to
- Go to the Agents tab
- Click Add Agent
- Select DBT from the dropdown
How filtering works:
- Both empty: Uses most recent successful run from any job in the account
- Project ID provided: Uses most recent run from that specific project
- Both provided: Uses most recent run from that specific job
Test & Deploy:
- Click Test Connection
- Should show: ✓ API connectivity, ✓ Account access, ✓ Recent run found
- If successful, click Deploy
- Click Run to trigger immediately
Verification
Verification Checklist
Best Practices
Ensure Jobs Generate All Artifacts
Your dbt Cloud job must include these commands:- Go to dbt Cloud > Jobs
- Click on your job
- Go to Settings > Commands
- Confirm all three commands are present
Schedule Alignment
API Rate Limits
dbt Cloud API has rate limits:- 100 requests per minute per API token
Troubleshooting
Debug Commands
Next Steps
Note: Questions? See the main dbt Overview or visit our documentation.