Creating a Slack application

In Slack, create an application so that you can connect to Slack from IBM Control Desk.

Before you begin

Make sure you have register an account in Slack.

About this task

This section describes the tasks performed by the System Administrator to create an application in Slack for the users in the team.

Procedure

  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 on Create New App.
  3. In the Create a Slack App dialog, enter a name for your application, for example: IBM Control Desk, and select the workspace that you signed in to.
  4. Click on Create App to create Slack application.
  5. On the Slack API page, click the Basic information tab and scroll down to the App Credentials section.
  6. Make a note of the Client ID, Client Secret, and the Signing Secret values. You will need them when configuring Slack in IBM Control Desk.
    Tip: Click the Show button in each field to see the values.
  7. Scroll to section Install your app to your workspace and click on permission scope.
  8. In the Redirect URLs section, add the following redirect URL:
    https://Service Portal NODE IP:Port/api/slack/oauth

    where Service Portal NODE IP:Port is the IP address and the port number of your Service Portal server.

  9. 7615 Scroll to the Scopes section and click on Add an OAuth Scope for Bot Token Scopes and add the following permission scopes to install app to workspace.
    • channels:read
    • groups:read
    • mpim:read
    • im:read
    • users:read

      Similarly, add at least one permission scope for User Token Scopes and more as needed.

    Tip:
    • In Slack, Scopes define the API method that your Slack App can call.
    • You can add any number of OAuth Scope for example: chat:write for Bot Token Scopes and admin for User Token Scopes.
  10. Click on Install App to Workspace.
  11. Click Allow to give permission to access your workspace.
  12. You will get OAuth Access Token and it is used when configuring Slack in IBM Control Desk.