Socket Mode for an internal workspace app
In Socket Mode, your worker opens a WebSocket to Slack. Incoming events and commands travel back over that connection. The worker needs a bot token from the workspace installation and an app-level token with connections:write. A public Request URL is unnecessary.
The Bothosting Slack starter profiles use this mode for Bolt in Node.js or Python. Choose a worker if all incoming application traffic comes from Slack. Keep a single test copy active while verifying delivery, since Slack can send a payload to any open socket for that app.
HTTP delivery for an app with a public endpoint
With HTTP delivery, Slack posts requests to a public HTTPS URL. Run a Bolt HTTP receiver on a compatible Node.js or Python HTTP deployment, bind to 0.0.0.0 and SERVER_PORT, and register the full request path with Slack. Supply the Slack signing secret to the receiver alongside its bot token. The receiver uses the signing secret to verify incoming requests.
Use the platform HTTPS address or a verified custom domain and configure each Request URL used by your app. Test a Slack event in addition to a simple browser request. A working route or TLS certificate establishes reachability. A reply to the event also exercises signature verification and bot permissions.
Check distribution and acknowledgment requirements
Slack restricts public Slack Marketplace listings to apps using HTTP delivery. Teams installing an internal app can use Socket Mode. Read Slack’s Socket Mode documentation before choosing a distribution path.
Both modes need prompt acknowledgments for slash commands. Keep slow work after ack() and test one interaction end to end. For a working Bolt example, see deploy a Slack slash command.