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.

Slack channel example
Bạn gửi@Your App ping
App replies in the threadYour Slack bot is running.
Download the Bolt for JavaScript example

Slack 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 Mode

Keep 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 secrets

Run your Bolt project

Upload your project files or connect the GitHub branch that contains your app and its dependency manifest.

Connect a GitHub branch

Try 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 example

Choose 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.

Get a reply in a Slack channel

  1. Configure the Slack app

    In Slack app settings, enable Socket Mode and generate an app-level token with connections:write. Add app_mentions:read và chat:write for the example, subscribe to app_mention, and install the app to your test workspace.

  2. 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_TOKEN and the app-level SLACK_APP_TOKEN.

  3. 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.

Đọc hướng dẫn triển khai đầy đủ

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 reply
  1. Check the current installation

    Confirm OAuth & Permissions shows the intended workspace and the scopes your handlers call.

  2. Start the hosted copy

    Upload the project, save both tokens and stop the old worker before testing Slack delivery.

  3. Exercise one real event

    Invite the app to a test channel, mention it and check for the expected reply.

Slack bot hosting plans

Một gói tài khoản bao các triển khai của bạn. Chia bộ nhớ, dung lượng và CPU cho các dự án chạy cùng nhau.

GóiBộ nhớDung lượngCPUTriển khaiBản sao lưu tệpLịch sửMỗi tháng
Spark256 MB512 MB25%1Mỗi giờ24 giờ0,00 US$
Relay1 GB5 GB50%2Mỗi 15 phút3 ngày2,25 US$
Circuit2 GB8 GB100%4Mỗi 15 phút7 ngày3,25 US$
Grid4 GB15 GB200%8Mỗi 5 phút14 ngày6,00 US$
Fleet8 GB25 GB250%12Mỗi 1 phút30 ngày9,00 US$
Spark1 triển khai0,00 US$
Bộ nhớ
256 MB
Dung lượng
512 MB
CPU
25%
Triển khai
1
Bản sao lưu tệp
Mỗi giờ
Lịch sử
24 giờ
So sánh Spark
Relay2 triển khai2,25 US$
Bộ nhớ
1 GB
Dung lượng
5 GB
CPU
50%
Triển khai
2
Bản sao lưu tệp
Mỗi 15 phút
Lịch sử
3 ngày
So sánh Relay
Circuit4 triển khai3,25 US$
Bộ nhớ
2 GB
Dung lượng
8 GB
CPU
100%
Triển khai
4
Bản sao lưu tệp
Mỗi 15 phút
Lịch sử
7 ngày
So sánh Circuit
Grid8 triển khai6,00 US$
Bộ nhớ
4 GB
Dung lượng
15 GB
CPU
200%
Triển khai
8
Bản sao lưu tệp
Mỗi 5 phút
Lịch sử
14 ngày
So sánh Grid
Fleet12 triển khai9,00 US$
Bộ nhớ
8 GB
Dung lượng
25 GB
CPU
250%
Triển khai
12
Bản sao lưu tệp
Mỗi 1 phút
Lịch sử
30 ngày
So sánh Fleet

Giá bằng USD, chưa thuế. Một năm bằng mười lần thanh toán tháng.

So sánh mọi tính năng của gói
Do 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.