Slack Setup
Connect your Vecbase agent to Slack so your team can chat with it in channels and DMs.Prerequisites
- A Slack workspace where you have admin permissions
- A Vecbase agent created
Step 1: Create a Slack App
Open Slack API
Go to Slack API and click Create New App → From scratch.
Step 2: Configure Bot Permissions
Add bot scopes
Go to OAuth & Permissions → Bot Token Scopes and add:
| Scope | Purpose |
|---|---|
chat:write | Send messages |
channels:read | List channels |
channels:history | Read channel messages |
users:read | Get user info |
files:read | Read shared files |
files:write | Upload files |
reactions:write | Add reactions |
Enable events
Go to Event Subscriptions → toggle On.Subscribe to bot events:
message.channels— Messages in public channelsmessage.groups— Messages in private channelsmessage.im— Direct messagesapp_mention— When someone @mentions the bot
Step 3: Connect in Vecbase
Enter credentials
- Display Name: A name for this channel (e.g., “Team Workspace”)
- App Token: The
xapp-...token from Socket Mode - Bot Token: The
xoxb-...token from OAuth
Step 4: Test
Invite the bot to a channel (/invite @botname) and send a message. The bot will respond.
For DMs, find the bot in your sidebar and send a message directly.
Limitations
| Limit | Value |
|---|---|
| File upload | 1 GB (workspace plan dependent) |
| Message length | 40,000 characters |

