Credal Copilots can be setup as a custom slack app which users can DM with, and custom slash commands etc can be set.
To do so:
[$NAME]
{
"display_information": {
"name": "[$NAME]",
"description": "[$DESCRIPTION]",
"background_color": "#131415",
"long_description": "[$LONG_DESCRIPTION]"
},
"features": {
"bot_user": {
"display_name": "[$NAME]",
"always_online": false
},
"app_home": {
"home_tab_enabled": false,
"messages_tab_enabled": true,
"messages_tab_read_only_enabled": true
}
},
"oauth_config": {
"redirect_urls": [
"[<https://app.credal.ai/custom-auth/slack>](<https://app.credal.ai/custom-auth/slack>)"
],
"scopes": {
"bot": [
"app_mentions:read",
"channels:history",
"channels:join",
"channels:read",
"chat:write",
"chat:write.public",
"im:history",
"im:write",
"incoming-webhook",
"reactions:read",
"reactions:write",
"users.profile:read",
"users:read",
"users:read.email",
"groups:history",
"groups:read"
]
}
},
"settings": {
"event_subscriptions": {
"request_url": "[<https://app.credal.ai/api/slack-events>](<https://app.credal.ai/api/slack-events>)",
"bot_events": [
"app_mention",
"message.channels",
"message.groups",
"[message.im](<http://message.im/>)"
]
},
"interactivity": {
"is_enabled": true,
"request_url": "[<https://app.credal.ai/api/slack>](<https://app.credal.ai/api/slack>)"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}