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:readundchat: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
Ein Kontotarif deckt deine Deployments ab. Teile Arbeitsspeicher, Speicher und CPU auf die Projekte auf, die du zusammen betreibst.
| Tarif | Arbeitsspeicher | Speicher | CPU | Deployments | Datei-Backup | Verlauf | Pro Monat |
|---|---|---|---|---|---|---|---|
| Spark | 256 MB | 512 MB | 25 % | 1 | Jede Stunde | 24 Stunden | 0,00 $ |
| Relay | 1 GB | 5 GB | 50 % | 2 | Alle 15 Minuten | 3 Tage | 2,25 $ |
| Circuit | 2 GB | 8 GB | 100 % | 4 | Alle 15 Minuten | 7 Tage | 3,25 $ |
| Grid | 4 GB | 15 GB | 200 % | 8 | Alle 5 Minuten | 14 Tage | 6,00 $ |
| Fleet | 8 GB | 25 GB | 250 % | 12 | Jede 1 Minute | 30 Tage | 9,00 $ |
Spark1 Deployment0,00 $
- Arbeitsspeicher
- 256 MB
- Speicher
- 512 MB
- CPU
- 25 %
- Deployments
- 1
- Datei-Backup
- Jede Stunde
- Verlauf
- 24 Stunden
Relay2 Deployments2,25 $
- Arbeitsspeicher
- 1 GB
- Speicher
- 5 GB
- CPU
- 50 %
- Deployments
- 2
- Datei-Backup
- Alle 15 Minuten
- Verlauf
- 3 Tage
Circuit4 Deployments3,25 $
- Arbeitsspeicher
- 2 GB
- Speicher
- 8 GB
- CPU
- 100 %
- Deployments
- 4
- Datei-Backup
- Alle 15 Minuten
- Verlauf
- 7 Tage
Grid8 Deployments6,00 $
- Arbeitsspeicher
- 4 GB
- Speicher
- 15 GB
- CPU
- 200 %
- Deployments
- 8
- Datei-Backup
- Alle 5 Minuten
- Verlauf
- 14 Tage
Fleet12 Deployments9,00 $
- Arbeitsspeicher
- 8 GB
- Speicher
- 25 GB
- CPU
- 250 %
- Deployments
- 12
- Datei-Backup
- Jede 1 Minute
- Verlauf
- 30 Tage
Preise in USD vor Steuern. Ein Jahr kostet so viel wie zehn monatliche Zahlungen.
Vergleiche alle Funktionen der TarifeDo 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.