Configure Slack Alerts

Slack alerts notify you and your team when servers are provisioned and terminated. Enable the built-in Slack integration to send alerts to a Slack channel.

First, create a new Slack application. Click here.

slack application creation

Optionally, customize the display information. You can download our official logo and upload as your app icon.

slack application display info

Next, click the incoming webhooks link and enable webhooks by toggling the switch. Then create a new webhook and click the Copy button to copy the webhook address.

slack application webhook

Finally, we need to provide the autoscale server with the webhook. The autoscaler server will post messages to the webhook when servers are created and terminated.

DRONE_SLACK_WEBHOOK=https://hooks.slack.com/services/XXX/YYY/ZZZ