Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.16 KB

SLACK_BOT.md

File metadata and controls

20 lines (18 loc) · 1.16 KB

How to setup the Slack Bot?

  1. Create a Slack App.
  2. Check your newly created app in Dashboard
  3. Go back to Slack. Create a channel, give a name(ex: vacabot)
  4. In left side bar, choose Incoming Webhooks and Activate Incoming Webhooks.
    Scroll down to Webhook URLs for Your Workspace and add a new one. Webhooks It will take you new page which asks you to assign a channel where your bot can post messages. Add Channel
  5. In side bar, choose Interactivity & Shortcuts. Enable it and add your ngrok url in Under URL
  6. In side bar, choose Slash Commands. Create New Command. Add Command In Request URL add your ngrok url.
  7. In side bar, choose OAuth & Permissions. Now enable bot access. Copy Bot User OAuth Access Token for later use. Allow Bot Scroll down in Scopes. Add these OAuth Scopes in Bot Token Scopes if not present: chat:write, commands, groups:write, im:write, incoming-webhook, mpim:write Add scopes