Set min_processes to 1 in runtime settings so the app stays running and listens for Slack messages.
Create a new app at api.slack.com/apps (From scratch)
Enable Socket Mode
+connections:write scopeSLACK_APP_TOKEN (starts with xapp-)Add Bot Token Scopes (OAuth & Permissions → Bot Token Scopes)
+app_mentions:readchat:writeim:historyim:readim:writeSubscribe to Events (Event Subscriptions → Subscribe to bot events)
+app_mentionmessage.imInstall to Workspace
+SLACK_BOT_TOKEN (starts with xoxb-)