Slack bot hosting
Run your Bolt app in a Node.js or Python worker. Socket Mode connects to Slack over a WebSocket and receives workspace events without a public request URL.
@Your App pingSlack Socket Mode hosting
Receive Slack events over a WebSocket
Bolt opens an outbound Socket Mode connection from the worker. Subscribe to the events and interactions your app handles.
Configure Socket ModeKeep both tokens in Variables
The bot token authorizes workspace actions. The app-level token opens the Socket Mode connection. Save each under its own variable and restart after rotation.
Manage runtime secretsRun your Bolt project
Upload your project files or connect the GitHub branch that contains your app and its dependency manifest.
Connect a GitHub branchTry a threaded mention reply
Start with the sample that matches your language. A reply in the thread confirms both event delivery and permission to post.
Test the exampleChoose your Bolt runtime
Use Node.js for a project with @slack/bolt in package.json, or Python for a project with slack-bolt in requirements.txt. Both profiles use Socket Mode.
- Deploy Node.js Socket Mode bot on Spark
Node.js Socket Mode bot
Run a Bolt for JavaScript bot over Slack’s outbound WebSocket connection.
- Deploy Python Socket Mode bot on Spark
Python Socket Mode bot
Run a Bolt for Python bot over Slack’s outbound WebSocket connection.
Get a reply in a Slack channel
Configure the Slack app
In Slack app settings, enable Socket Mode and generate an app-level token with
connections:write. Addapp_mentions:readandchat:writefor the example, subscribe toapp_mention, and install the app to your test workspace.Upload the project and save both tokens
Use your own code or upload the Bolt example. In Variables, save the installed bot’s
SLACK_BOT_TOKENand the app-levelSLACK_APP_TOKEN.Mention the app
Start the deployment, invite the app into a test channel, and mention it. Check for a thread reply and read Console if the connection fails.
Move an existing Slack bot
Keep the Slack app identity and test the hosted copy with an app mention in your workspace.
Troubleshoot a missing mention replyCheck the current installation
Confirm OAuth & Permissions shows the intended workspace and the scopes your handlers call.
Start the hosted copy
Upload the project, save both tokens and stop the old worker before testing Slack delivery.
Exercise one real event
Invite the app to a test channel, mention it and check for the expected reply.
Slack bot hosting plans
One account plan covers your deployments. Divide its memory, storage and CPU among the projects you run together.
| Plan | Memory | Storage | CPU | Deployments | File backup | History | Per month |
|---|---|---|---|---|---|---|---|
| Spark | 256 MB | 512 MB | 25% | 1 | Every hour | 24 hours | $0.00 |
| Relay | 1 GB | 5 GB | 50% | 2 | Every 15 minutes | 3 days | $2.25 |
| Circuit | 2 GB | 8 GB | 100% | 4 | Every 15 minutes | 7 days | $3.25 |
| Grid | 4 GB | 15 GB | 200% | 8 | Every 5 minutes | 14 days | $6.00 |
| Fleet | 8 GB | 25 GB | 250% | 12 | Every 1 minute | 30 days | $9.00 |
Spark1 deployment$0.00
- Memory
- 256 MB
- Storage
- 512 MB
- CPU
- 25%
- Deployments
- 1
- File backup
- Every hour
- History
- 24 hours
Relay2 deployments$2.25
- Memory
- 1 GB
- Storage
- 5 GB
- CPU
- 50%
- Deployments
- 2
- File backup
- Every 15 minutes
- History
- 3 days
Circuit4 deployments$3.25
- Memory
- 2 GB
- Storage
- 8 GB
- CPU
- 100%
- Deployments
- 4
- File backup
- Every 15 minutes
- History
- 7 days
Grid8 deployments$6.00
- Memory
- 4 GB
- Storage
- 15 GB
- CPU
- 200%
- Deployments
- 8
- File backup
- Every 5 minutes
- History
- 14 days
Fleet12 deployments$9.00
- Memory
- 8 GB
- Storage
- 25 GB
- CPU
- 250%
- Deployments
- 12
- File backup
- Every 1 minute
- History
- 30 days
Prices in USD before tax. A year costs the same as ten monthly payments.
Compare all plan featuresDo I need a public Slack Request URL?
Socket Mode receives events over an outbound WebSocket. Enable it in the Slack app settings and subscribe to the events your app handles.
Can I use an existing Slack app?
Yes. Use the app’s current bot token from the target workspace and create an app-level token scoped to connections:write. Keep the same installation when moving your project.