Deploy to Slack
Your Bothive agent inside Slack — responding in DMs, channels, and threads.
When to use the Slack channel
Internal team tools
Engineering stand-up bots, HR policy assistants, incident commanders, ops automation — all living where your team already works.
Customer-facing support
If your customers use Slack Connect or a shared Slack workspace, your support agent can live right there.
Setup
1
Create a Slack App
Go to api.slack.com/apps → Create New App → From scratch.Give it a name and pick your workspace.
2
Enable OAuth scopes
Under OAuth & Permissions → Bot Token Scopes, add:
3
Install the app to your workspace
Under OAuth & Permissions → click Install to Workspace → authorize.Copy the Bot User OAuth Token (starts with
xoxb-).4
Connect to Bothive
In your bot dashboard → Channels → Slack → paste the Bot User OAuth Token → Save.Bothive sets up the event subscriptions automatically.
5
Invite the bot to channels
In Slack, type
/invite @YourBotName in any channel where you want it to respond.HiveLang v5 Slack bot example
Slack vs Telegram — when to choose
Slash commands
Register slash commands in your Slack App settings → Slash Commands → Create New Command:
Bothive handles slash command routing automatically — no extra code needed.
Common issues
Bot doesn't respond to messages
Bot doesn't respond to messages
Make sure you’ve invited the bot to the channel (
/invite @BotName). The bot only sees messages in channels it’s a member of.Bot responds to every message in a channel
Bot responds to every message in a channel
By default, the bot only responds when @mentioned in channels. To change this, update the
app_mentions:read scope and your instructions.Rate limit errors
Rate limit errors
Slack has a 1 message/second limit per channel. If your bot sends rapid-fire messages, add a small delay between calls or batch responses.