diff --git a/docs/configuration.md b/docs/configuration.md index e94fc27..1cb7626 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -314,6 +314,14 @@ CUSTOM_PROMPT="You are a DevOps assistant." ## Slack App Setup +### Create Slack App + +You can create a Slack app from a manifest JSON file (e.g., slack_app_manifest.json). + +Note that the manifest does not cover all app settings. You still need to: +- Create an app-level token and a bot token in the app’s settings pages. +- Enable direct messages for the bot under App Home. The Messages (DM) setting is not controlled by the manifest. + ### Token Types The application requires two types of tokens: diff --git a/slack_app_manifest.json b/slack_app_manifest.json new file mode 100644 index 0000000..cbc22ec --- /dev/null +++ b/slack_app_manifest.json @@ -0,0 +1,49 @@ +{ + "display_information": { + "name": "", + "description": "", + "background_color": "#1c4ad6" + }, + "features": { + "bot_user": { + "display_name": "", + "always_online": true + } + }, + "oauth_config": { + "scopes": { + "bot": [ + "app_mentions:read", + "assistant:write", + "channels:history", + "channels:read", + "chat:write", + "groups:history", + "groups:read", + "im:history", + "im:read", + "im:write", + "im:write.topic", + "incoming-webhook", + "mpim:history", + "users.profile:read", + "users:read", + "lists:read" + ] + } + }, + "settings": { + "event_subscriptions": { + "bot_events": [ + "app_mention", + "message.im" + ] + }, + "interactivity": { + "is_enabled": true + }, + "org_deploy_enabled": false, + "socket_mode_enabled": true, + "token_rotation_enabled": false + } +} \ No newline at end of file