There are two way of connecting to Slack: with WebSockets or with web hooks. The first one is recommended since it doesn’t require any use of reverse proxies like ngrok.
display_information:
name: MySlackApp
features:
app_home:
home_tab_enabled: false
messages_tab_enabled: true
messages_tab_read_only_enabled: false
bot_user:
display_name: MySlackApp
always_online: true
oauth_config:
scopes:
bot:
- channels:history
- channels:join
- chat:write
- chat:write.customize
- commands
- im:history
- users:write
- files:read
- files:write
settings:
event_subscriptions:
bot_events:
- message.channels
- message.im
interactivity:
is_enabled: true
org_deploy_enabled: false
socket_mode_enabled: true
token_rotation_enabled: false
then select the Workspace to install the app to, go through all steps and finally click on Create
ngrok http 3001
You should get something like
Ngrok
Grab the https address you get, something like https://123123.ngrok.io, this is the base url that points back to your Node-RED instance.