Squadbase logo

dbt

Steps and required credentials to connect dbt to Squadbase

Required Information

FieldDescription
dbt Cloud HostThe hostname of your dbt Cloud instance (e.g., cloud.getdbt.com).
dbt Account IDThe numeric ID of your dbt Cloud account.
dbt Production Environment IDThe numeric ID of your dbt production environment.
dbt API TokenA service token or personal access token used to authenticate with the dbt Cloud API.

How to Obtain Each Value

dbt Cloud Host

For most users, this is cloud.getdbt.com. If your organization uses a single-tenant or custom deployment, use the hostname shown in your browser's address bar when logged in to dbt Cloud.

dbt Account ID

  1. Log in to dbt Cloud
  2. Look at the browser's address bar — the URL includes your account ID
  3. The URL format is: https://cloud.getdbt.com/accounts/{account_id}/...
  4. Copy the numeric value in place of {account_id}

Alternatively, go to Account settings — the account ID is shown in the URL or in the settings page.

dbt Production Environment ID

  1. In dbt Cloud, navigate to OrchestrationEnvironments
  2. Click on your production environment

dbt Environments screen

  1. Look at the URL in your browser — the environment ID is the numeric value in the URL
  2. The URL format is: https://cloud.getdbt.com/accounts/{account_id}/environments/{environment_id}/...

dbt API Token

  1. In dbt Cloud, click your account name in the top-left corner → Your profileAPI tokens, then navigate to Service tokens (recommended for production) or Personal tokens

dbt API Tokens screen

  1. Click + Create personal access token
  2. Assign the necessary permissions (at minimum, Job Admin or Metadata Only for read access)
  3. Copy the generated token and store it in a safe place