Ask AI

Slack & Dagster+#

This guide is applicable to Dagster+.

Dagster+ supports sending alerts to Slack channels using a Slack workplace app. Messages will be posted using a @Dagster+ bot user.


To follow the steps in this guide, you'll need:

  • Permissions in Slack that allow you to add apps to your Slack workspace
  • Organization, Admin, or Editor permissions in Dagster+, which are required to create and manage alerts

Step 1: Connect Slack to Dagster+#

  1. Sign in to your Dagster+ account.
  2. In the top navigation, click Deployment.
  3. Click the Alerts tab.
  4. Click Connect to Slack and complete the installation process.

Step 2: Invite the Dagster+ bot to Slack channels#

After the app is installed in your Slack workspace, invite the @Dagster+ bot user to the channel where notifications should be sent.

Step 3: Create an alert policy in Dagster+#

Creating an alert policy can be done using the Dagster+ UI or the dagster-cloud CLI and a YAML file.

In the UI#

  1. Create and configure an alert policy. Refer to the Managing alerts in Dagster+ guide for more info.

  2. In the Notification Service section of the Create alert policy window, select the Slack option.

  3. In the field that displays, enter the name of the Slack channel you added the @Dagster+ bot user to.

    Note: One channel is allowed per alert policy. To post alerts to multiple channels, first invite the @Dagster+ bot and then create a new alert policy that posts to that channel.

  4. Click Save policy.

Disconnecting Slack#

To disconnect Dagster+ from Slack, remove the Dagster+ app from your Slack workspace. Refer to Slack's documentation for more info and instructions.

Once the app is removed, refresh the Alerts page in Dagster+ and the Connect to Slack option will be displayed.