Engati - User Guide
Deploying the bot

Slack

4min

Slack is a popular team collaboration tool that brings messaging, file sharing, and productivity features together in one platform. Deploying your bot on Slack allows your team members to easily access it for assistance right within your workspace.

The key benefits of deploying your Engati bot on Slack include seamless communication, quick access to answers, and a unified hub for your team. Your teammates can get queries resolved, access information, and use your bot's features by interacting with it directly in Slack channels and messages.

Setting Up

To deploy on Slack, follow these simple steps:

Step 1: In Engati, go to Configure > Deployment > Slack and click on "Connect".

Step 2: Visit Slack's website: https://api.slack.com/apps to create a new Slack app.

Step 3: Once you have logged in slack, click on "Create an App".

Document image


Step 4: Select "From Scratch".

Document image


Step 5: Give it a name and select your workspace. Once done click on "Create App".

Document image


Step 6: Navigate to "Oauth and Permissions".

Document image


Step 7: Scroll down till you find "Scopes", where you will find two option: Bot Token Scopes – Scopes that govern what your app can access User Token Scopes – Scopes that act on behalf of Users that authorize them.

For both of these options: Bot and User Token Scope enable im:history, im:read and im:write by clicking on Add an OAuth Scope.

Document image


Step 8: Navigate to OAuth and Permissions and add a redirect link for your bot. You can find this link under Configurations>Deployment>Slack in the Redirect URL field. Once added click on the Save URLs button.

Document image


Step 9: Navigate to Event Subscriptions and toggle the Enable events button to on. Add the request URL present in the Engati portal and then add the following events – Subscribe to bot events – message.im Subscribe to the event on behalf of users – im_created Click on Save changes.

Document image


Step 10: Navigate to Interactivity & Shortcuts and toggle the button to on. Enable Interactivity & Shortcuts by copying the Request URL from the Engati Portal. And click on "Save Changes"

Document image


Step 11: Navigate to OAuth and Permissions and enable them by clicking on Install to Workspace and Submit the request.

Document image


Step 12: Navigate to the App Home tab under the Features panel. In the Show Tabs, check the box that reads ‘Allow users to send Slash commands and messages from the messages tab’ under the Messages tab.

Document image


Step 13: Navigate through the Basic information under the Settings tab. Copy the Client ID, Client Secret, and Verification Token from Basic Information. Paste them into Engati.

Document image


Step 14: Once done click on ‘Save Changes’. After the details have been saved click on the ‘+Add’ button present in the Engati portal and your bot is now ready to interact on Slack.

Deploying on Slack with Engati takes just a few minutes. Your teammates will appreciate quick access to your bot in a platform they likely use daily.

If you face any issues or queries please reach out to us at support@engati.com.

Updated 08 Apr 2024
Doc contributor
Did this page help you?
Yes
No