Skip to main contentIBM Β AIOps Training

Create Slack App Communications

πŸ“₯ STEP: Event Subscriptions

Return to the browser tab for the Slack app.

  1. Select Event Subscriptions.

  2. In the Enable Events section, click the slider to enable events.

  3. For the Request URL field use the Request URL from step 5.

    e.g: https://<my-url>/aiops/aimanager/instances/xxxxx/api/slack/events

  4. After pasting the value in the field, a Verified message should display.

    slacki3

    If you get an error on versions prior to 4.0 please check that you have followed this

  5. Verify that on the Subscribe to bot events section you got:

    • app_mention and
    • member_joined_channel events.
    slacki4
  6. Click Save Changes button.

πŸ“₯ STEP: Interactivity & Shortcuts

  1. Select Interactivity & Shortcuts.

  2. In the Interactivity section, click the slider to enable interactivity. For the Request URL field, use use the URL from above.

    There is no automatic verification for this form

    slacki5
  3. Click Save Changes button.

πŸ“₯ STEP: Slash Commands

Now, configure the welcome slash command. With this command, you can trigger the welcome message again if you closed it.

  1. Select Slash Commands

  2. Click Create New Command to create a new slash command.

    Use the following values:

    FieldValue
    Command/welcome
    Request URLthe URL from above
    Short DescriptionWelcome to CloudPak for AIOps
  3. Click Save.

πŸ“₯ STEP: Reinstall App

The Slack app must be reinstalled, as several permissions have changed.

  1. Select Install App
  2. Click Reinstall to Workspace

Once the workspace request is approved, the Slack integration is complete.

Page last updated: 03 November 2022