Configure Slack for external content indexing

task australia Updated Sep 10, 2026 3 min read cfg-src-sys-settings-slack-ext-cont-connector.md
Raw file servicenow.com

Create a Slack API application to allow the Slack external content connector to crawl public channels in your Slack source system.

Before you begin

You need permission to create Slack API applications in your organization's Slack workspace.

Role required: none

About this task

The Slack external content connector retrieves content from public channels in your Slack source system using a Slack API application. You need to create this application and configure its OAuth settings to allow the external content connector access to your Slack workspace.

Your connector administrator needs the Slack API application's client ID and secret to configure the Slack external content connector for proper connection to your Slack source system.

Procedure

  1. Navigate to the Slack API: Applications page at https://api.slack.com/apps.

  2. If prompted, sign in to your Slack account and select the workspace that you want the external content connector to crawl.

  3. Select Create an App.

    [Omitted image "slack-api-your-apps.png"] Alt text: Your Apps page with Create an App button highlighted.

    If you already have existing applications on this page, select Create New App instead.

  4. In the Create an app dialog box, select From scratch.

    [Omitted image "slack-api-create-app.png"] Alt text: Create an app dialog box with From scratch option highlighted.

  5. In the Name app & choose workspace dialog box, specify a name and workspace for your application.

    1. In the App Name field, enter a name for your application.

    2. In the Pick a workspace to develop your app in field, select the workspace that you want the external content connector to crawl.

    3. Select Create App.

    [Omitted image "slack-api-name-app-choose-workspace.png"] Alt text: Name app & choose workspace dialog box with application name and workspace highlighted.

    The application's Settings page appears, open to the Basic Information page.

  6. In the App Credentials section, select Show to display the Client Secret field value, then record the application's Client ID and Client Secret values in a secure location.

    [Omitted image "slack-api-app-credentials.png"] Alt text: App Credentials section of Basic Information settings page with application client ID and client secret values highlighted.

    Important: Your connector administrator needs these values to configure the Slack external content connector.

  7. Navigate to Features > OAuth & Permissions.

  8. On the OAuth & Permissions page, configure a redirect URL for the application.

    1. In the Redirect URLs section, select Add New Redirect URL.

      [Omitted image "slack-api-add-new-redirect-url.png"] Alt text: Redirect URLs section of OAuth & Permissions features page with Add New Redirect URL button highlighted.

    2. Enter the URL for your ServiceNow AI Platform® instance, https://<instance-name>.service-now.com, replacing <instance-name> with the name of your instance.

    3. Select Add.

    4. Select Save URLs.

      [Omitted image "slack-api-save-redirect-urls.png"] Alt text: Redirect URLs section of OAuth & Permissions features page with Save URLs button highlighted.

  9. On the OAuth & Permissions page, in the Scopes section's Bot Token Scopes subsection, configure each of these bot token scopes for the application.

    • channels:history
    • channels:join
    • channels:read
    • files:read
    • remote_files:read
    • team:read
    • users:read
    1. Select Add an OAuth Scope.

      [Omitted image "slack-api-add-oauth-bot-scope.png"] Alt text: Scopes section of OAuth & Permissions features page with Add an OAuth Scope button in Bot Token Scopes subsection highlighted.

    2. Enter the OAuth scope's name to filter the list of scopes, then select the scope's entry.

      The selected scope appears in the list of Bot Token Scopes for your application.

  10. On the OAuth & Permissions page, install the application into your Slack workspace.

    1. In the OAuth Tokens section, select the link to install the application to your Slack workspace.

      The installation link's text includes the name of your Slack workspace. [Omitted image "slack-api-install-workspace.png"] Alt text: OAuth Tokens section of OAuth & Permissions features page with installation button highlighted.

    2. On the confirmation page, select Allow.

      [Omitted image "slack-api-install-allow.png"] Alt text: Confirmation page for installation of application with Allow button highlighted.

  11. On the OAuth & Permissions page, opt into token rotation for the application.

    1. In the Advanced token security via token rotation section, select Opt In.

      [Omitted image "slack-api-opt-in-token-rotation.png"] Alt text: Advanced token security via token rotation section of OAuth & Permissions features page with Opt In button highlighted.

    2. On the confirmation page, select Opt in.

      [Omitted image "slack-api-opt-in-confirmation.png"] Alt text: Confirmation page for token rotation opt-in with Opt in button highlighted.

What to do next

Provide the following items to your connector administrator:

  • The Slack API application client ID and client secret that you recorded in step 6.
  • The URL where your Slack workspace is accessible. This is usually https://slack.com.

Your connector administrator needs these items to configure a Slack external content connector to retrieve attachments from your Slack instance.

For details on creating and configuring a Slack external content connector, see Create a Slack external content connector.

Parent Topic:Slack external content connector

Keywords ServiceNow OttoAI Agentsgenerative AIagentic AI
Search documentation
Search document titles and file paths on the australia branch