Enabling Slack in a chatbot application
You can use Slack as one of the communication channels for chatbot applications so that Slack users can connect to BMC Helix Chatbot. The configuration for BMC Helix Chatbot to work with Slack is applied to all chatbots in your tenancy. If you have multiple chatbots, you must repeat the procedure for each chatbot.
The following image describes the process of configuring Slack to work with your BMC Helix Chatbot application:
Task 1: To create an application in Slack and set the application scope
- On the OAuth & Permissions page, in the OAuth Tokens & Redirect URL section, click Install App to Workspace.
Task 2: To configure a chatbot application to work with Slack
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, click the application in which you want to configure a chatbot to work with Slack.
- Click the Chatbots tab, and click the chatbot that you want to configure to work with Slack.
- Click the Channels tab and select New > Slack.
In the Slack Settings section, enter values for the following fields, and click Save.
Field
Description
Description
Enter the description that provides details about the setting.
Slack Application ID
Enter the App ID that you copied earlier.
Slack Bot User Auth Access Token
Enter the Bot User OAuth Access Token that you copied earlier.
Slack Verification Token
Enter the Verification Token that you copied earlier.
Webhook URL
(Information only) This field is populated automatically.
Webhook URL is the Request URL that you provide when you configure your Slack application.Copy the Webhook URL for future reference.
Task 3: Subscribe to Slack event and configure interactive components
You must subscribe to events in Slack to receive notifications for these events, such as when the end user posts a message. You also configure the interactive components in Slack such as buttons, menus, and date pickers.
You have now configured Slack to work with BMC Helix Chatbot.
To migrate the classic Slack application
- Navigate to the application that you created in Slack.
- In the left pane, under the Tools menu, select Update to Granular Scopes.
For more information about migrating the classic Slack application, see Migration guide for classic Slack apps
Related topic