Connecting Slack
Here’s a detailed instruction on how to connect Slack to Quidget:
- Open Slack API website and log in or create a new account for your Slack bot
- Click on Your apps in the header
- Click on Create an App
- Choose the option “From scratch”
- Create a Name for your app
- Pick a workspace to develop your app
- Click Create App
-
Go to the OAuth & Permissions section on the sidebar menu
-
Scroll down to “Scopes” and add the following scopes to “Bot Token Scopes” using the Add an OAuth Scope (11) button
- app_mentions:read
- chat:write
- commands
- files:read
- files:write
- im:history
- im:read
- im:write
- reactions:read
- reactions:write
- users.profile:read
- users:read
-
Also add the following scopes to “User Token Scopes” using the Add an OAuth Scope (11) button
- im:history
- im:read
- im:write
- On the OAuth & Permissions page on the sidebar menu, click on the Install to Workspace button
- On the page that opens, grant all necessary permissions by clicking the Allow button
- Copy the Bot User OAuth Token and paste it to the corresponding field on the Quidget integration interface
- Copy the Signing Secret from the “App Credentials” (in Basic Information, on the sidebar menu) and paste it to the corresponding field on the Quidget integration interface
- Fill the rest of the bot integration fields with the data, acquired on the previous steps
- Copy the Webhook URL of the Slack integration
- Go to the Interactivity & Shortcuts section on the sidebar menu
- Turn “Interactivity” On
- In the Request URL field, paste a copied Webhook URL from the Quidget integration interface
- Click on Save Changes
- Go to the Event Subscriptions section on the sidebar menu
- Turn “Enable Events” On
- In the Request URL field, paste a copied Webhook URL from the Quidget integration interface
-
Scroll down to “Subscribe to bot events”
-
Use the “Add Bot User Event” button to add the following events
- member_left_channel
- message.im
- reaction_added
- reaction_removed
-
Click on Save Changes
- Go to the Install App section on the sidebar menu and click on the Reinstall to Workspace button
- On the page that opens, grant all necessary permissions by clicking the Allow button
- Go to the App Home section on the sidebar menu, scroll down to the “Show Tabs” section, and activate the “Allow users to send Slash commands and messages from the messages tab” checkbox