Integration Apps
Slack
Getting Started
Setup
Deployment
Integration Apps
Slack
Creating a Slack App
- Go to https://api.slack.com/apps
- Click “Create New App” and choose “From an app manifest”
- Select your workspace
- Paste the App Manifest JSON from below into the provided field
{
"display_information": {
"name": "duckie",
"description": "A friendly developer support assistant :)",
"background_color": "#7f807a"
},
"features": {
"app_home": {
"home_tab_enabled": false,
"messages_tab_enabled": true,
"messages_tab_read_only_enabled": false
},
"bot_user": {
"display_name": "duckie",
"always_online": true
},
"slash_commands": [
{
"command": "/duckie-response",
"url": "<BACKEND_URL>/slack/command/duckie-draft",
"description": "Duckie Draft Response helps generate and improve responses to customers",
"should_escape": false
}
]
},
"oauth_config": {
"redirect_urls": [
"<FRONTEND_URL>/client/slack/callback"
],
"scopes": {
"user": [
"channels:read",
"groups:read",
"search:read"
],
"bot": [
"channels:history",
"channels:manage",
"channels:read",
"chat:write",
"files:read",
"groups:history",
"groups:read",
"groups:write",
"incoming-webhook",
"mpim:read",
"reactions:read",
"reactions:write",
"users:read",
"im:read",
"im:write",
"im:history",
"commands"
]
}
},
"settings": {
"event_subscriptions": {
"request_url": "<BACKEND_URL>/slack/events",
"user_events": [
"member_left_channel"
],
"bot_events": [
"app_uninstalled",
"group_left",
"member_joined_channel",
"message.channels",
"message.groups",
"message.im",
"reaction_added",
"reaction_removed"
]
},
"interactivity": {
"is_enabled": true,
"request_url": "<BACKEND_URL>/slack/interactivity"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}
- Update the values for URIs and URLs using your EC2
Public IPv4 DNS
- Review the settings and click “Create”
- Install the app to your workspace
On this page