Search documentation...

K
ChangelogBook a demoSign up

Trigger syncs with dbt Cloud

To schedule syncs via dbt Cloud, dbt requires you to have a paid plan.

The dbt Cloud extension lets you schedule Hightouch syncs to run as soon as a dbt Cloud job completes. Relying on dbt Cloud for sync scheduling ensures that Hightouch performs syncs when fresh data is available.

Extension setup requires two steps:

  • Connecting your dbt account to Hightouch
  • Configuring your Hightouch sync to follow a dbt Cloud job

Connect to dbt Cloud

Open the dbt Cloud configuration page in your workspace and enter the dbt Cloud URL. Depending on your setup, you need to insert:

  • for regular dbt Cloud setups, a default access URL
  • for accounts with cell-based account prefixes, you can find the custom unique access URL in dbt on the Account settings page (below the Account information pane)

These are the most commonly used default access URLs:

  • ​­­https://cloud.getdbt.com​, for the US
  • ­https://emea.getdbt.com​, for EMEA

Then navigate to dbt Cloud and generate a personal access token (PAT) or a service account token. In Hightouch, enter your token in the dbt Cloud API token field in the Configuration tab of the dbt Cloud extension. Click Connect to complete your connection configuration.

A read-only service account token is sufficient for this integration.

If you want to update your dbt Cloud API token in Hightouch, you can disconnect the extension and reconnect it using the new API token. This won't reset the schedule configuration of syncs that use the dbt Cloud scheduling method.

Configure your sync schedule

Now, when creating or modifying a sync you can select dbt Cloud as a schedule type.

  1. Go the Schedule tab of overview page of the sync you want to schedule. Select dbt Cloud as the schedule type.
  2. Select the appropriate dbt Account and Job.
  3. Click Save.

dbt Cloud schedule configuration in the Hightouch UI

Your sync is now scheduled to run whenever your chosen dbt Cloud jobs complete.

The sync won't be triggered if your dbt Cloud job fails.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Last updated: Sep 12, 2024

On this page

Connect to dbt CloudConfigure your sync schedule

Was this page helpful?