How to Connect Your AI Chatbot to Slack: Step-by-Step Guide
Connecting your PalaChat chatbot to Slack lets your team get instant, AI-powered answers to questions directly inside Slack. Whether you are using it for internal knowledge management, B2B customer support, or team Q&A, the setup takes under 10 minutes.
This guide walks you through every step.
Prerequisites
Before you start, make sure you have:
- A PalaChat account with an active chatbot (knowledge base already trained)
- A Slack workspace where you have permission to install apps
- Your PalaChat chatbot's Integrations tab open in the dashboard
Step 1: Create a Slack App
Step 2: Configure Bot Permissions
Your Slack app needs permission to read and send messages.
| Scope | Purpose |
|---|---|
chat:write | Allows the bot to send messages |
channels:history | Allows the bot to read messages in public channels |
groups:history | Allows the bot to read messages in private channels |
im:history | Allows the bot to read direct messages |
xoxb- — copy this token and keep it safeStep 3: Get Your Signing Secret
Step 4: Connect in PalaChat
xoxb-...) in the first fieldStep 5: Enable Event Subscriptions
This step tells Slack to forward messages to PalaChat so the chatbot can respond.
https://palachat.com/api/slack/webhook
| Event Name | What It Does |
|---|---|
message.channels | Bot receives messages in public channels |
message.groups | Bot receives messages in private channels |
message.im | Bot receives direct messages |
Step 6: Invite the Bot to a Channel
The bot can only respond in channels where it has been invited.
/invite @YourBotName
Replace YourBotName with the app name you chose in Step 1.
Step 7: Test the Bot
Send a message in the channel asking a question that your chatbot's knowledge base can answer. The bot will reply in a thread within a few seconds.
If the bot does not respond, check the following:
- The bot has been invited to the channel
- Event Subscriptions show the green Verified status
- All three bot events are subscribed (
message.channels,message.groups,message.im) - The correct Bot Token and Signing Secret are entered in PalaChat
Optional: Customise the Bot Profile
To make your bot look more professional in Slack:
Tips for Using a Slack Chatbot
Common Questions
Can the bot respond to direct messages? Yes, if you added theim:history scope and the message.im event subscription.
Does the bot respond to every message in the channel?
Yes, the bot processes every user message in channels where it has been invited. It will not respond to messages from other bots.
Can I use the same chatbot on Slack and my website?
Yes. The chatbot uses the same knowledge base across all channels. Connecting to Slack does not affect your website widget or other channels.
Can I disconnect Slack later?
Yes. Go to the Integrations tab in PalaChat and click Disconnect under the Slack section. This does not affect other channels.
Getting Started
Ready to add an AI chatbot to your Slack workspace? Sign up for PalaChat — the Growth plan includes Slack integration, and setup takes under 10 minutes.
Already have a PalaChat account? Go to your chatbot's Integrations tab and connect Slack today.
Questions? Contact our team — we are happy to help.
Ready to automate your customer support?
Set up your AI chatbot in under 10 minutes. No coding required.
Get started free