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”
- In Basic Information, on the sidebar menu, click on “Permissions” in the “Add features and functionality” section roll-up
- 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
- Go to OAuth & Permissions on the sidebar menu, and 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 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 URL from the Quidget integration interface
-
Scroll down to “Subscribe to bot events” and add the following events using the “Add Bot User Event” (26) button
- member_left_channel
- message.im
- reaction_added
- reaction_removed
-
Use the “Add Bot User Event” button to add the following events
-
Click on “Save Changes”
- Go to the Basic Information 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