Skip to content
GPT Chatbot for Slack | Installation Guide

To begin integrating Slack, you will need to register on the Slack API site.

Once registered, head to Slack Apps to create your first app.

Create Slack App

To Obtain the App ID and Access Token, you need to create an app, select the option From Scratch. You will now be redirected to the next page. Here, enter your App Name and select the Workspace where you wish to develop your app. Once done, click on Create App.

After creating the app, copy the following details from the Basic Information section:

  • App ID
App ID and Access Token

Configure redirect URLs and choose the necessary bot scopes required to access workspace data. Enable bot commands for interaction.

  • Redirect URLs: You need to add a valid URL from your domain as the redirect URL.
Slack App Configuration
  • Bot Scope: Choose the commands Bot Token Scope.
Bot Scope
  • Install the app to your workspace.
Install in Workspace
  • Copy the Bot User OAuth Token and paste the token in YourGPT Slack Access Token field.
Auth Token
  • In the App Home section, enable the option “Allow users to send messages with slash commands”.
Show Tab

To enable integration, follow these steps:

  1. Obtain the app ID from the Basic Information section of your Slack app.
  2. Paste the copied App ID into the Application ID field of YourGPT Slack Integration.
  3. Copy the Bot user Auth Token from the OAuth & Permissions section.
  4. Paste the copied credentials into the Access Token field of YourGPT Slack Integration.
Enable Integration

Once integrated, copy the generated webhook for further use.

Copy Webhook

Go to the Slash Commands section and create a new slash command.

Create Slash Command
  • Add the following details:
    • Command: The command you want to use to interact with the bot.
    • Request URL: paste the webhook into the request URL.
    • Short Description: A description of the command.
    • Usage Hint: A brief description of the command.
Command
  • To receive notifications for desired events, add the copied webhook URL.
Additional Configuration

Additional Configuration
  • Ensure webhook URL is added for flow messages to function properly.
Flow Messaging Setup
Flow Interactivity
  • After a successful response, it will be added; otherwise, an error will occur.

The Integration ID for Slack is 16 and the supported types for the integration are as follows:

By following these steps, you can easily integrate your chatbot with Slack. For any questions, contact our team via Live support or Mail Us.