Complete tutorial to create and host a Slack bot on Square Cloud — configuration, deployment and examples in Node.js and Python.
chat:write
, channels:read
, commands
, app_mentions:read
).index.js
file with the following content:SLACK_SIGNING_SECRET
and SLACK_BOT_TOKEN
in the application panel.squarecloud.app
file is used to define the name, version, main file and environment variables for your application. Include SLACK_SIGNING_SECRET
and SLACK_BOT_TOKEN
in the panel or configuration file as needed.index.js
or app.py
) and uses environment variables. Use START only for custom startup scripts.
package.json
or requirements.txt
and squarecloud.app
) and upload via the Dashboard or CLI.
/hello
command to validate responses.