Feature toggle: slack
Since OTS is a self-hosted solution, a Slack app needs to be created for your workspace with correct Webhook URLS.
- Go to https://api.slack.com
- If not authenticated then authenticate and click on "Your apps"
- Click on "Create New App > From an app manifest"
- Select the workspace where you want to create your app on
- Add manifest below in JSON format and replace all the values that are in
<>
and remove the brackets :
{
"display_information": {
"name": "<YOUR_APP_NAME>"
},
"oauth_config": {
"redirect_urls": [
"<YOUR_APP_URL>"
],
"scopes": {
"user": [
"chat:write",
"channels:read",
"users:read"
]
}
},
"settings": {
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": true
}
}
- Review changes
<YOUR_APP_URL>
can be replace with the backend URL when running locally or with docker. Docker Example:https://localhost:9011/integrations/slack/webhook
- Click "Create"
- Congratulations you just created your Slack App for OTS