Overview
Slack integration allows your agent to participate in workspace conversations - perfect for internal teams or community support.Team Collaboration
Internal communication
Real-Time
Instant messaging
Developer Friendly
Popular with tech teams
Two Types
Private Bot or Public App
Two integration types
Slack supports two connection styles. The admin dashboard wizard walks you through either one and generates the Slack app manifest for you, so you don’t have to configure scopes and event subscriptions by hand.- Private (bot token)
- Public (distributable app)
Just your workspace
- Single workspace
- Authenticates with a bot token (
xoxb-...) - Simplest option for internal team use
Connection Method 1: Admin Dashboard (Recommended)
The dashboard provides a guided wizard and generates a ready-to-paste Slack app manifest after you connect, so you don’t configure scopes, event subscriptions, or interactivity by hand.
Open the dashboard
Open your agent and add a channel
Click Agents in the main side navigation, select your agent’s card, click the + (plus) icon to add a channel, then choose Slack.
Screenshot: The agent’s add-channel (+) control and the channel options

Choose how to connect
Pick the connection type:
Screenshot: The “Connect to Slack” step with the Private and Public choices
- Private — just my workspace: use a bot token from a Slack app you control. Simplest if you only need the agent inside your own workspace.
- Public — a distributable app: build a Slack app other organizations can install.

Create your Slack app
If you don’t already have one, the wizard walks you through creating it at api.slack.com/apps → Create New App → From scratch. Give it any name and pick your workspace.
- Private (bot token)
- Public (app credentials)
- In your app, open OAuth & Permissions and add the bot token scopes your agent needs.
- Click Install to Workspace and approve the permissions.
- Copy the Bot User OAuth Token — it starts with
xoxb-.
Enter your credentials
Paste your details into the wizard and click Connect.
Screenshot: The credentials step (bot token, or App ID / Client ID / Client Secret)
- Private: your bot token (
xoxb-...). - Public: App ID, Client ID, and Client Secret.

Finish in Slack (apply the manifest)
After connecting, Lua shows a generated app manifest. Copy it, then in Slack open App Manifest, switch to the JSON tab, paste it in, and click Save Changes. This sets up the permissions and event subscriptions your agent needs.
Screenshot: The “finish in Slack” dialog with the generated manifest

Required bot scopes
Add these Bot Token Scopes under OAuth & Permissions. The dashboard manifest includes them automatically; you only add them by hand for the private bot or CLI paths.chat:write— Send messageschannels:history— Read public channel messagesgroups:history— Read private channel messagesim:history— Read direct messagesmpim:history— Read group direct messageschannels:read— List public channelsgroups:read— List private channelsim:read— List direct messagesmpim:read— List group direct messagesusers:read— View user informationusers:read.email— View user emailsapp_mentions:read— Detect @mentionsfiles:read— Access uploaded files
Message Scopes
Message Scopes
Reading messages:
channels:history- Read public channel messagesgroups:history- Read private channel messagesim:history- Read direct messagesmpim:history- Read group direct messages
chat:write- Required to send any messages
Channel Scopes
Channel Scopes
Reading channel info:
channels:read- List public channelsgroups:read- List private channelsim:read- List DMsmpim:read- List group DMs
User Scopes
User Scopes
User information:
users:read- Get user display namesusers:read.email- Get user email addresses
- Personalizing responses
- User identification
- Profile information
Additional Scopes
Additional Scopes
Other features:
app_mentions:read- Detect when bot is @mentionedfiles:read- Read uploaded files
Connection Method 2: CLI (Private Bot)
The CLI connects a private bot using a bot token. Create your Slack app at api.slack.com/apps, add the required scopes, install it to your workspace, and copy the bot token first.For the CLI path you configure the Slack app yourself. Set both Event Subscriptions and Interactivity request URLs to
https://wa.heylua.ai/slack/webhook, and subscribe to the app_mention, message.channels, message.groups, and message.im bot events. The dashboard does this for you via the generated manifest.Testing
DM your bot in Slack (or @mention it in a channel it’s been invited to). Your agent replies automatically. Monitor the conversation in the admin dashboard.Next Steps
Add email support
Management
Manage all channels

