Setting up AirysChat Slack integration involves 5 steps.Documentation Index
Fetch the complete documentation index at: https://docs.airys.chat/llms.txt
Use this file to discover all available pages before exploring further.
- Create a slack app in the developer portal.
- Add necessary permissions for the slack app.
- Configure AirysChat with the
client IDandclient Secretobtained from the slack app. - Open AirysChat UI, navigate to integrations, Slack and click connect.
- Voila! You should be receiving new conversations in the #customer-conversations channel in Slack.
Register a Slack app
To use Slack Integration, you have to create a Slack app in the developer portal. You can find more details about creating Slack apps at the Slack developer portal. Once you register your Slack App, you will have to obtain theClient Id and Client Secret. These values will be available in the app settings and will be required while setting up AirysChat environment variables.
Configure the Slack app
- Create a Slack app and add it to your development workspace.
- Obtain the
Client IdandClient Secretfor the app and configure it in your AirysChat environment variables. - Head over to the
OAuth & permissionssection underfeaturestab. - In the redirect URLs, Add your AirysChat installation base URL.
- In the scopes section configure the given scopes for bot token scopes:
channels:historychannels:joinchannels:managechannels:readchat:writechat:write.customizecommandsfiles:readfiles:writegroups:historygroups:writeim:historyim:writelinks:readlinks:writempim:historympim:writeusers:readusers:read.email
- In the user access token section subscribe to:
files:read,files:write,remote_files:share - Head over to the
Events Subscriptionssection in theFeaturestab. - Enable events and configure the given request url
{AirysChat installation url}/api/v1/integrations/webhooks - Subscribe to the following bot events:
link_shared,message.channels,message.groups,message.im,message.mpim. - Add the installation URL as
domainunder theApp unfurl domains sectionto display meta information about the conversation when the conversation URL is shared. - Connect Slack integration on AirysChat app and get productive.
Configure the environment variables in AirysChat
Obtain theClient ID and Client Secret for the app and configure it in your AirysChat environment variables.These values will be available under Settings > Basic Information.
Slack will only show up in the integrations section once you have configured these values and restarted the server.
Connect AirysChat with your Slack workspace
Follow this guide to complete the Slack integration.Testing your setup
- Create a new conversation.
- Ensure that you are receiving the AirysChat messages in the connected slack channel.
- Add a message to that thread and ensure that it is coming back on to AirysChat.
- Add
note:orprivate:in front of the Slack message to see if it is coming out as private notes. - If your Slack member’s email matches their email on AirysChat, the messages will be associated with their AirysChat user account.