Creating a Slack application and a private Slack channel

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:

  1. Go to https://api.slack.com/apps and create a Slack application as per the instructions.
    Note: Below instructions are given just for reference, you must follow updated instructions given in https://api.slack.com/apps.
  2. Click Create New App.
  3. In the Create a Slack App dialog, enter a name for your application and select the workspace that you signed in to.
  4. Click Create App. The Slack application is created
  5. Create a private channel in the workspace where you want to receive alert messages.
  6. 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.
  7. 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.
  8. 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.