Slack
Last updated
Last updated
This article explain how to integrate Slack for receiving alert notifications from Telmai application
To send notifications to a Slack channel:
Create a new Slack app with sufficient privileges to post messages to a public Slack channel
Create a new alert channel for slack communications in Telmai
Navigate to Slack API apps. The page opens in a new tab
Sign in or create an account
Select Create an App
Set App Name to "Telmai Notifier”
Select the Development Slack Workspace where you'd like the Slack Bot to post messages, and then click Create App.
In the navigation panel, select OAuth & Permissions.
Navigate to the Scopes section.
Under Bot Token Scopes, click Add an OAuth Scope and enter:
chat:write
chat:write.public
Scroll to the top of the OAuth & Permissions page and click Install App to Workspace.
In the confirmation dialog, click Allow.
Copy the Bot User OAuth Access Token for use in the Telmai channel.
In this section, you create a new Alerts channel to receive Telmai notifications via Slack
Create a Slack channel
Click on “Alerting Policies” in the left hand menu
Click on “Manage Alert Channels”
Click on “+ Alert Channel”
Select “Slack” in Alert Channel Type drop down
Enter Channel Name
Enter token which is copied above (In step 10)
Enter the slack channel you want to receive alerts. (You can add multiple channels by clicking on “Add”)
Click on “Validate” Telmai will send a test message to the provided channels
If everything looks good, click on “Save”
Select this channel in alert settings so it can be is used for notifications.