TechBuzzPro

How to Integrate Slack with dbt Cloud

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can integrate Slack with dbt Cloud by creating a Slack app with an incoming webhook, adding that webhook URL to a dbt Cloud notification, and then choosing which job events trigger a message. This sends run failures, successes, and other alerts straight to a Slack channel, so your team sees pipeline problems without watching the dbt Cloud UI. The setup takes about ten minutes and needs admin access to both tools. Menu labels can differ slightly by dbt Cloud plan, Slack workspace settings, or region, so treat the exact wording below as a guide.

What You'll Need

  • A dbt Cloud account with permission to edit jobs and notifications (typically an Account Admin or a user with job-editing rights).
  • A Slack workspace where you can install apps, or an admin who can approve the installation.
  • Access to the Slack channel where alerts should appear.
  • At least one dbt Cloud job already configured, since notifications attach to jobs.

Step-by-Step

  1. Create a Slack app for the webhook. Go to the Slack API site (api.slack.com/apps) and choose Create New App. Pick From scratch, give it a name such as “dbt Cloud Alerts”, and select your workspace. If you do not see the option to create an app, ask a Slack admin to enable app installation for the workspace.
  2. Enable incoming webhooks. In the app settings, open Incoming Webhooks and turn the feature on. Click Add New Webhook to Workspace, choose the target channel, and approve the request. Slack then shows a webhook URL that starts with https://hooks.slack.com/services/. Copy it and store it somewhere safe; treat it like a password because anyone with it can post to that channel.
  3. Open dbt Cloud notifications. In dbt Cloud, go to your account settings and find the notifications area. The path is usually under Account Settings > Notifications, though the exact label depends on your plan. Choose to create a new notification.
  4. Select Slack as the destination. Give the notification a clear name, such as “Slack – production failures”. Choose Slack as the integration type and paste the webhook URL from step 2 into the URL field.
  5. Choose the events to send. Pick the job statuses you care about. Most teams start with Run failed and Run cancelled, then add Run completed successfully for important production jobs. Avoid selecting every event for every job, or the channel will become noise.
  6. Attach the notification to jobs. Open each dbt Cloud job you want covered, go to its notification settings, and add the Slack notification you created. Save the job. Repeat for any other jobs, such as staging or production runs.
  7. Test it. Trigger a job run manually from dbt Cloud, or wait for the next scheduled run. When the run finishes, check the Slack channel for the message. If nothing appears, recheck the webhook URL and the job’s notification settings.

Common Mistakes

  • Using a channel-specific webhook for the wrong channel. The webhook is tied to the channel chosen when it was created. To post elsewhere, create a new webhook or update the app’s channel configuration.
  • Forgetting to attach the notification to a job. Creating a notification in account settings does nothing until it is added to at least one job.
  • Selecting too many events. Alerts for every success and failure across many jobs flood the channel, and people start ignoring them.
  • Pasting the webhook URL with extra spaces or line breaks. This causes silent failures. Re-copy the URL cleanly.
  • Assuming a deleted Slack app still works. If the app is removed or the webhook is revoked, dbt Cloud messages stop without warning.

Tips

  • Create separate notifications for production and non-production jobs so failures in critical pipelines stand out.
  • Use a dedicated channel such as #dbt-alerts rather than a general team channel.
  • Include the job name in the notification name so the Slack message is easy to identify.
  • Review notification settings after changing job schedules, since new jobs do not inherit notifications automatically.
  • Keep the webhook URL in a shared password manager so the team can rotate it if needed.

Troubleshooting

If no message arrives, start with the simplest checks. Confirm the dbt Cloud job actually ran and finished; notifications only fire on completed events. Then open the job’s notification settings and verify the Slack notification is attached and saved. Next, check that the webhook URL in dbt Cloud matches the one in Slack exactly, with no trailing spaces. In Slack, confirm the app is still installed and the target channel still exists. If the channel was archived or the app was removed, recreate the webhook and update dbt Cloud. If messages arrive for some jobs but not others, compare their notification settings; each job must be configured separately. If the Slack workspace requires admin approval for apps, the webhook may have been created but not authorised, so ask an admin to approve it. Finally, if the issue persists, remove the notification in dbt Cloud and recreate it with a fresh webhook.

Frequently Asked Questions

Can I send dbt Cloud alerts to multiple Slack channels?

Yes. Create a separate Slack webhook for each channel, then create a separate dbt Cloud notification for each webhook and attach the relevant one to each job.

Do I need a paid Slack plan?

No. Incoming webhooks work on Slack’s free plan, though workspace admins may restrict app installations.

Can I customise the Slack message format?

dbt Cloud controls the message content for its built-in Slack notifications. For custom formatting, you would need to send messages through your own automation rather than the native integration.

What happens if I rotate the webhook URL?

Old URLs stop working immediately. Update the URL in every dbt Cloud notification that uses it, or alerts will fail silently.

Are notifications sent for every run?

Only for the events you selected. If you choose only failures, successful runs produce no message.

Does this work with dbt Cloud’s free developer plan?

Notification features vary by plan. Check your account settings for the notifications option; if it is missing, your plan may not include it.