コンテンツにスキップ

Slack

このガイドでは、Slack に AI アシスタントを統合します。内容:

  1. Slack アプリを作成
  2. Slack アプリを設定(マニフェスト)
  3. Quickchat AI と連携

api.slack.com/appscreate a new app

create_slack_app_1

Create an app from scratch を選び、名前とワークスペースを設定 → Create App

create_slack_app_2

create_slack_app_3

App Settings → Features → App Manifest

create_slack_app_5

以下の YAML を貼り付け、必要に応じて調整:

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: true
oauth_config:
scopes:
bot:
- im:history
- im:write
- chat:write
settings:
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: true
oauth_config:
scopes:
bot:
- im:history
- im:write
- chat:write
- app_mentions:read
- channels:history
- groups:history
settings:
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

保存時に URL 検証が求められる場合があります:

create_slack_app_6

外観の微調整は Settings → Basic information → Display Information:

create_slack_app_7

以下を取得:

  • App ID(Settings → Basic Information)
  • Signing Secret(同上)
  • Bot User OAuth Token(Features → OAuth & Permissions。ワークスペースにインストール後に表示)

create_slack_app_8

Quickchat ダッシュボード → Integrations → Slack にて、App ID / Signing Secret / OAuth Token を入力します。

slack_integration

以上で Slack 連携は完了です。🎉