Set up Slack
Before creating a Slack notifier in Observability Platform, create an incoming webhook in Slack. See Sending messages using incoming webhooks in the Slack documentation for more information. Next, create a Slack notifier in Observability Platform.Create a Slack notifier in Observability Platform
After setting up Slack, you can create a Slack notifier in Observability Platform. Select from the following methods to create a Slack notifier. You can use variables in your notifiers.- Web
- Chronoctl
- Terraform
- API
To create a Slack notifier:
- In the navigation menu select Alerting > Notifiers.
- Click Create notifier.
- Enter a descriptive name for the notifier.
- Select Slack as the type of notifier you want to create.
-
In the API URL field, enter the URL you created for your webhook in Slack,
which is called as a
POSTrequest. For example:The API URL from Slack contains the channel name. - In the Channel field, enter any channel name. This field is required for backward compatibility, but its value is ignored. The destination channel is set by the webhook you entered in the API URL field.
- Optional: In the Username field, enter the Slack username to post the notifier as.
- Optional: Select Notify when resolved to send a resolved alert notification.
- Click Save.

