Why bother logging into the application to check event alerts if you can get notifications by email or in a Slack channel?
The former is rather obvious. For the latter, you need to configure Slack to generate the so-called OAuth Access Token.
Let’s take a look at how you can set up Slack to receive event alert notifications.
You will need to refer to Slack documentation to complete the subsequent stages of the configuration. Simply follow the links provided in the steps below to get more detailed instructions.
- First, create a Slack app.
- Select the scopes to add to your app. Scopes give your app permission to do things – for example, post messages – in your development dashboard.
- Next, install the app to your dashboard.
- Now call the API methods.
- Find an access token inside your app management page. Look for it under the OAuth & Permissions sidebar.
- Click Copy to copy the OAuth Access Token.
Now open Tealeaf, go to the Company Settings page and paste the copied token into the OAuth Access Token field.
Note: If you revoke the token, you must reenter a newly generated token on the Company Settings page.
Select Slack as your alert notification channel
- Create a new alert or edit an existing alert in the Alert Manager.
- Select the Slack check box on the Recipient information page.
- Enter the Slack channel name. For example,
Tealeaf does not support private slack channels currently.
- Finish and save your changes.