About this task
To enable handling of a webhook received by IBM Storage
Insights, you need to create a Slack application and a
private Slack channel.
Procedure
To create a Slack application and a private Slack channel, complete the following
steps:
- Go to https://api.slack.com/apps and create a Slack application as
per the instructions.
- Click Create New App.
- In the Create a Slack App dialog, enter a name for your
application and select the workspace that you signed in to.
- Click Create App. The Slack application is created
- Create a private channel in the workspace where you want to receive alert
messages.
- On the left panel of the Slack API website, navigate to Incoming
Webhooks and activate the feature by selecting On. This allows
you to receive incoming messages from your IBM Storage
Insights.
- Add a new webhook by clicking Add New Webhook to Workspace and
choose the channel where you want to receive incoming messages. You can choose an existing channel
or create a new one.
- After adding the webhook, make a note of the newly generated incoming webhook
URL. This is the URL that the IBM Storage
Insights uses
to send messages to Slack.
Results
The Slack application and the Slack channel created successfully. You can now create webhook
in your IBM Storage
Insights instance. For further
integration, see Creating a webhook for
Slack.