Keep Kyso and Slack in sync so you don't miss anything
Kyso can be integrated easily with Slack, which will receive notifications when something happens in your organization or channel, for example, when a new report is created, or a new comment is written, just following the next steps.
Open Slack and choose the option Apps, under the menu More.
Choosing Apps option
Click on App Directory button, located at the top right of your screen.
Then, click on the button Build, located at the top right of your screen.
Click then on the button Create an app
Select the option From scratch
Choose a name and select the desired workspace
Click on the section Permissions.
Scroll down until the section Scopes and add the scope chat:write to the Bot Token Scopes.
Scroll up to the top of the same page and click on the button Install to Workspace.
Copy the generated Bot User OAuth Token and save it for later use.
The Slack App configuration is finished, in the next section you will configure Kyso to use this Slack App
Slack notifications can be configured at different levels:
- Organization level. All the channels under an organization will inherit this configuration. That means, all the notifications related to that organization will use the same Slack channel. Requires organization admin role.
- Channel level. Every channel can define their own slack notifications. If there is a configuration at organization level, that configuration will be overwritten by the channel configuration. Using this, you can define specific configuration per channel. Requires Full Access role.
Login into Kyso, click on your avatar and select Settings.
Choose the desired organization in the left menu, select the tab Notifications and copy & paste the Bot User OAuth Token in the form Slack Token. Also, specify the destination channel in the form Slack Channel.
Open Slack, click on the destination channel and open the configuration clicking in the title of the channel, on the top of the page.
Select the tab Integrations and click on the button Add an App.
Write the name of your app and click on the button Add.
Well done! Your organization is now configured with Slack, to test it out just create a new report in your organization and check that you are receiving the notifications in the configured channel at Slack.
The configuration process is exactly the same, but instead working in the Channel Configuration page on your Kyso settings.
Take into account that the slack token only can be defined at the Organization level, for security reasons.