Slack
En esta guía, integraremos tu Asistente de IA en Slack. Resumen:
- Crear una app de Slack dedicada
- Configurar la app de Slack
- Integrar tu bot de Slack con Quickchat AI
Crear tu app de Slack
Sección titulada «Crear tu app de Slack»Ve a api.slack.com/apps y haz clic en create a new app.
Selecciona Create an app from scratch, pon un nombre y el Workspace, y pulsa Create App.
Configurar tu app de Slack
Sección titulada «Configurar tu app de Slack»Slack permite configurar toda la app con un manifiesto (YAML). En los ajustes de la app, ve a Features → App Manifest.
Pega este manifiesto YAML y ajústalo si es necesario:
display_information: name: Talk to AI description: Talk to me about Quickchat!features: app_home: home_tab_enabled: false messages_tab_enabled: true messages_tab_read_only_enabled: false bot_user: display_name: Talk to AI always_online: trueoauth_config: scopes: bot: - im:history - im:write - chat:writesettings: event_subscriptions: request_url: https://slack.quickchat.ai/chat/ bot_events: - message.im - app_home_opened org_deploy_enabled: false socket_mode_enabled: false token_rotation_enabled: false
display_information: name: Talk to AI description: Talk to me about Quickchat!features: app_home: home_tab_enabled: false messages_tab_enabled: true messages_tab_read_only_enabled: false bot_user: display_name: Talk to AI always_online: trueoauth_config: scopes: bot: - im:history - im:write - chat:write - app_mentions:read - channels:history - groups:historysettings: event_subscriptions: request_url: https://slack.quickchat.ai/chat/ bot_events: - message.im - app_home_opened - app_mention - message.groups - message.channels org_deploy_enabled: false socket_mode_enabled: false token_rotation_enabled: false
Guarda el manifiesto. Antes de aplicar cambios, Slack te pedirá verificar la URL:
¡Hecho! Si quieres ajustar apariencia, ve a Settings → Basic information → Display Information:
Integrar tu bot de Slack con Quickchat AI
Sección titulada «Integrar tu bot de Slack con Quickchat AI»Necesitarás:
- App ID: Settings → Basic Information → App Credentials
- Signing Secret: Settings → Basic Information → App Credentials
- Bot User OAuth Token: Features → OAuth & Permissions → OAuth Tokens for Your Workspace (instala el bot y copia el token)
Déjalo abierto.
En otra pestaña, entra al panel de Quickchat AI, ve a Integrations, busca Slack y proporciona App ID, Signing Secret y OAuth Token.
¡Listo! 🎉 Tu bot ya está listo para ser probado en Slack.