Slack bot alert receivers
With Databand, you can create a Slack API app to use a Slack bot to send alert notifications directly to your Slack channels.
If you don't have a Slack API app in your Databand environment, complete the Prerequisites. If you do have a Slack API app in your Databand environment, go directly to the Create receiver section.
Prerequisites
To create a Slack receiver, you must first have a Slack API app that is connected to your Databand environment. You need only one Slack API app per Slack workspace.
- In the Databand UI, go to Settings > Organization, then in the Slack tile click Connect app.
- Copy the manifest.
- Go to the Slack API app website and click Create New App.
- Choose From a manifest and click Next.
- Select the Slack workspace where the channel that you want to connect with Databand is located.
- Paste the manifest from the Databand UI into the Create app from manifest dialog and click Next then Create.
- In the Basic Information section of your Slack app, copy the Signing secret and paste it into the Databand UI.
- Go to your Slack app then go to OAuth & Permissions > OAuth tokens and Install the app to your workspace. Depending on your organization's requirements, you might have to Request to Install your app.
- After your app is installed in your workspace, copy the Bot User OAuth Token and paste it into the Bot token field of the Databand UI.
- In the Databand Connect Slack panel, click Next.
Create a Slack receiver
To create a Slack receiver in Databand:
- Go to Alerts > Receivers > Add receiver.
- Select Slack as the Alert type and enter the
following information:
- Receiver name
- The name of the receiver displayed in Databand.
- Slack channel
- The name of the Slack channel (#channel-name) where you want to receive Slack notifications.
- Validate the configuration by clicking Test connection.
- Click Next.
- Choose the defined alerts that you want to be notified about through this receiver, then click Save.