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
-
Go to https://api.slack.com/apps and create a
Slack application as per the instructions.
- 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 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 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 add at least one scope to install app to
workspace. Click on Add an OAuth Scope for Bot Token Scopes and User Token
Scopes 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 is used when configuring Slack in IBM
Control Desk.