Step 2: Create a Slack application
In this section, you do the following:
-
Create a Slack application in the Slack API Console.
-
Configure the application to add interactive messaging to your bot.
At the end of this section, you get application credentials (Client ID, Client Secret, and Verification Token). In the next step, you use this information to integrate the bot in the Amazon Lex V2 console.
To create a Slack application
-
Sign in to the Slack API Console at https://api.slack.com
. -
Create an application.
After you have successfully created the application, Slack displays the Basic Information page for the application.
-
Configure the application features as follows:
-
In the left menu, choose Interactivity & Shortcuts.
-
Choose the toggle to turn interactive components on.
-
In the Request URL box, specify any valid URL. For example, you can use
https://slack.com
.Note
For now, enter any valid URL to get the verification token that you need in the next step. You will update this URL after you add the bot channel association in the Amazon Lex console.
-
Choose Save Changes.
-
-
-
In the left menu, in Settings, choose Basic Information. Record the following application credentials:
-
Client ID
-
Client Secret
-
Verification Token
-
Next step
Step 3: Integrate the Slack application with the Amazon Lex V2 bot