Slack
Overview
You can connect an agent to a Slack workspace, allowing users to interact with it directly from Slack. Once connected, the agent responds to messages sent in the configured channel or via direct message.
Prerequisites
Before connecting, you need a Slack app with the following:
- A Bot User OAuth Token (starts with
xoxb-) - A Signing Secret from the Slack app settings
To create a Slack app and retrieve these credentials:
- Go to api.slack.com/apps and create a new app.
- Under OAuth & Permissions, install the app to your workspace and copy the Bot User OAuth Token.
- Under Basic Information, copy the Signing Secret.
Connecting Slack to an Agent
- Open the agent you want to connect.
- Go to the Integrations tab.
- In the Slack Integration card, click Connect.
- Enter the following credentials:
- Bot User OAuth Token — the
xoxb-...token from your Slack app. - Signing Secret — from your Slack app’s Basic Information page.
- Bot User OAuth Token — the
- Click Connect Slack.
Once connected, the card shows the bot ID and team ID confirming the connection.
Disconnecting
To remove the Slack integration from an agent:
- Open the agent’s Integrations tab.
- In the connected Slack card, click Disconnect.
- Confirm the action. All Slack credentials are removed and the integration is disabled.
Last updated on