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:readechat: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
Um plano da conta cobre seus deploys. Divida a memória, o armazenamento e a CPU entre os projetos que você roda juntos.
| Plano | Memória | Armazenamento | CPU | Deploys | Backup de arquivos | Histórico | Por mês |
|---|---|---|---|---|---|---|---|
| Spark | 256 MB | 512 MB | 25% | 1 | A cada hora | 24 horas | US$ 0,00 |
| Relay | 1 GB | 5 GB | 50% | 2 | A cada 15 minutos | 3 dias | US$ 2,25 |
| Circuit | 2 GB | 8 GB | 100% | 4 | A cada 15 minutos | 7 dias | US$ 3,25 |
| Grid | 4 GB | 15 GB | 200% | 8 | A cada 5 minutos | 14 dias | US$ 6,00 |
| Fleet | 8 GB | 25 GB | 250% | 12 | A cada 1 minuto | 30 dias | US$ 9,00 |
Spark1 deployUS$ 0,00
- Memória
- 256 MB
- Armazenamento
- 512 MB
- CPU
- 25%
- Deploys
- 1
- Backup de arquivos
- A cada hora
- Histórico
- 24 horas
Relay2 deploysUS$ 2,25
- Memória
- 1 GB
- Armazenamento
- 5 GB
- CPU
- 50%
- Deploys
- 2
- Backup de arquivos
- A cada 15 minutos
- Histórico
- 3 dias
Circuit4 deploysUS$ 3,25
- Memória
- 2 GB
- Armazenamento
- 8 GB
- CPU
- 100%
- Deploys
- 4
- Backup de arquivos
- A cada 15 minutos
- Histórico
- 7 dias
Grid8 deploysUS$ 6,00
- Memória
- 4 GB
- Armazenamento
- 15 GB
- CPU
- 200%
- Deploys
- 8
- Backup de arquivos
- A cada 5 minutos
- Histórico
- 14 dias
Fleet12 deploysUS$ 9,00
- Memória
- 8 GB
- Armazenamento
- 25 GB
- CPU
- 250%
- Deploys
- 12
- Backup de arquivos
- A cada 1 minuto
- Histórico
- 30 dias
Preços em USD antes dos impostos. Um ano custa o mesmo que dez pagamentos mensais.
Compare todos os recursos dos planosDo 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.