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

  1. Log in to Slack API.
  2. Click Your Apps, select a bot and navigate to Settings > Basic Information > Display Information to copy the App name (Bot name).
  3. 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.

    The Slack Team ID is shown in the code window as "id":"T01GDN5CCUE."

  4. Navigate to Basic Information in your Slack workspace (in api.slack.com) and copy the Signing Secret under App Credentials.The Signing Secret field is highlighted in the App Credentials page in your workspace. If it is hidden, select Show.
  5. Navigate to OAuth & Permissions in your Slack workspace and copy the Bot User OAuth Access Token.
    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.