Use this document to setup your Slack channel to receive alerts via Slack API. You need to login to your Slack app to configure incoming webhooks.
Follow following steps to configure Slack to receive alerts via Slack API.
-
Search for incoming webhooks app and click on the incoming webhooks.
-
This will take you to incoming webhooks page where you can configure channels to receive alerts via Slack API.
-
Click on Add Configuration.
-
Choose a channel where you want to send Slack alerts and click on Add Incoming Webhooks Integration.
-
After clicking on Add Incoming Webhooks Integration, you will be given instructions to send Slack alerts via Slack API.
-
Click on Save Settings after making your changes.
-
Update the Slack webhook_url in Java Config file and Python Config file with Webhook URL highlighted in instructions.
-
Refer to Slack integration sample code.