Creating a Slack application
In Slack, create an application so that you can connect to Slack from IBM Control Desk.
Before you begin
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
-
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.
- Click on Create New App.
- 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.
- Click on Create App to create Slack application.
- On the Slack API page, click the Basic information tab and scroll down to the App Credentials section.
- 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.
- Scroll to section Install your app to your workspace and click on permission scope.
- 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.
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.
- Click on Install App to Workspace.
- Click Allow to give permission to access your workspace.
- You will get OAuth Access Token and it is used when configuring Slack in IBM Control Desk.