Steps to create a Slack app:
1. Go to https://api.slack.com/apps → Create New App (from scratch)
2. Enable Socket Mode: Settings → Socket Mode → Enable
• Create an App-Level Token with ‘connections:write’ scope
3. Add Bot Token Scopes: Features → OAuth & Permissions
Required scopes: chat:write, app_mentions:read,
channels:history, channels:read, im:history,
im:read, im:write, users:read, files:write
Optional for private channels: groups:history
4. Subscribe to Events: Features → Event Subscriptions → Enable
Required events: message.im, message.channels, app_mention
Optional for private channels: message.groups
⚠ ⚠ Without message.channels the bot will ONLY work in DMs,
⚠ not public channels.
5. Install to Workspace: Settings → Install App
6. Reinstall the app after any scope or event changes
7. After installing, invite the bot to channels: /invite @YourBot
Full guide: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/slack/