Slack
Last updated
Was this helpful?
Last updated
Was this helpful?
Integration type: Write
Integration with Slack allows you to send messages to various channels including private ones.
Data for the connection:
To publish messages in private groups on Slack, you need to add Ylem (app) into the group first.
To do it, type @Ylem in the group and click on "Invite Them".
If you don't use the cloud version of Ylem but have it installed on your infrastructure under your domain name, you need to create your own Slack OAuth 2.0 application to make this integration work.
As the first step, you need to go to the https://api.slack.com/apps and create your own "OAuth 2.0" application.
Add the following as Bot Token Scopes:
Slack App also needs a redirect URL to return users to after a successful authorization. Use this one and just replace the domain name with your one that internally proxies the request to ylem_integrations:7337
:
As soon as the application is ready, you can open its "Settings" and copy your CLIENT_ID and CLIENT_SECRET. These two values you will need to add to your Ylem configuration now.
Additional information about creating and configuring Slack Apps can be found in their official documentation.
The following parameters need to be changed on the backend/integrations/.env
file:
Now you can open https://%%YOUR_YLEM_DOMAIN_NAME%%/slack-authorizations and try to authorize Slack Integration by clicking on the button "Add Slack authorization".