Retrieve self-configured bot details
Retrieve the details of the bot that you created in the Slack workspace to integrate with the ServiceNow instance.
Before you begin
Role required: admin
Procedure
Log in to Slack API.
Click Your Apps, select a bot and navigate to Settings > Basic Information > Display Information to copy the App name (Bot name).
Enter your Bot User OAuth Access Token in the token argument, click Test Method, and copy the Team ID.
Note: You can find the Access token in OAuth & Permissions in your Slack app.
Image omitted: slack-team-id.png
The Slack Team ID is shown in the code window as "id":"T01GDN5CCUE."
The Slack Team ID is shown in the code window as "id":"T01GDN5CCUE."
- Navigate to Basic Information in your Slack workspace (in api.slack.com) and copy the Signing Secret under App Credentials.
Image omitted: slack-signing-secret.png
The Signing Secret field is highlighted in the App Credentials page in your workspace. If it is hidden, select Show.
The Signing Secret field is highlighted in the App Credentials page in your workspace. If it is hidden, select Show.
- Navigate to OAuth & Permissions in your Slack workspace and copy the Bot User OAuth Access Token.
Image omitted: slack-access-token.png
The Bot User OAuth Access Token field is highlighted in the Slack instance. Select "Copy" to copy it to the clipboard.
The Bot User OAuth Access Token field is highlighted in the Slack instance. Select "Copy" to copy it to the clipboard.
Result
You should now be able to interact with your Self-configured bot.
If you do not see your bot under the Apps section, then click Add Apps and search for your bot and select it. You can type hi to receive a response.
Parent Topic:Integrating a self-configured bot with Slack workspace