Slack
Bring your AI Bot Kit chatbot into Slack. Invite the bot to any channel, and your team can ask it questions trained on your knowledge base — same answers as the website widget.
What you need
Workspace admin access in Slack (or permission to install apps)
A Slack bot token (
xoxb-...) and the signing secret for the appA paid plan (Basic, Essential, or Business)
Create the Slack app
Go to api.slack.com/apps → Create New App → From scratch.
Name the app (e.g., "AI BotKit Assistant") and pick your workspace.
Under OAuth & Permissions, add these bot scopes:
chat:writechannels:historyim:historygroups:history
Install the app to the workspace and copy the Bot User OAuth Token (
xoxb-...).Under Basic Information → App Credentials, copy the Signing Secret.
Under Event Subscriptions, set the request URL to
https://app.aibotkit.io/api/slack/callbackand subscribe to:app_mentionmessage.channelsmessage.im
Connect to AI Bot Kit
Open your chatbot → INTEGRATIONS → Slack.
Paste the Bot Token and Signing Secret.
Click Connect Slack.
After connecting, you'll see exact steps to configure Event Subscriptions in Slack and activate the bot.
Invite the bot to a channel:
/invite @your-bot-name.Mention it:
@your-bot-name what's our refund policy?— the chatbot replies in-thread.
When connected, you'll see:
Feature bullets:
Secure webhooks -- HMAC-verified event delivery
Instant replies -- Your bot responds in real time
Any Slack workspace -- Works in any workspace you have access to
What happens behind the scenes
Slack POSTs every event to
/api/slack/callback. The handler verifies the HMAC-SHA256 request signature using your Signing Secret.The session ID is
slack_<user-id>— each user gets their own conversation thread.Replies post back as the bot user via
chat.postMessage.The bot only responds to direct mentions and DMs by default — it won't interject in unrelated chatter.
Tips
Don't paste tokens in plain text in Slack while setting up. Tokens are encrypted in our database, but anyone reading your Slack channel could grab them.
Use a private app. Don't list the app in the public Slack App Directory unless you intend to share the bot with other workspaces.
One token per chatbot. Reusing the same bot token across chatbots will be detected and blocked unless you confirm a transfer.
Frequently Asked
Can the bot DM users proactively? Not currently — it only replies to incoming messages.
Does it support slash commands?
Not yet. Slash commands are on the roadmap; for now, mention the bot with @bot question….
Can I disconnect? Yes — clearing credentials in the Integrations card stops delivery. Uninstall the Slack app on Slack's side too if you want a clean removal.
Last updated