> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discourse

> Discourseとの連携方法です。APIキーの取得から、連携方法まで一連の手順を解説します。

## 事前準備

### APIキーの取得方法

1. Discourseにログイン後、左側のサイドバーから**Admin**を選択します。

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/admin-menu.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=c2840e6ba1d09aabfebcbee2e8f9a135" alt="サイドバーメニュー" width="566" height="706" data-path="images/integrations/discourse/admin-menu.png" />

2. **Advanced**（詳細設定）を展開し、**API keys**（APIキー）を選択します。

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/advanced-settings.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=6ffce4cb26b1fe678754f5ecfdb3c3b3" alt="詳細設定メニュー" width="556" height="722" data-path="images/integrations/discourse/advanced-settings.png" />

3. **API keys**画面で**Add API key**（APIキーを追加）をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/api-keys.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=4b0a5987fc3c40cb30f8b481916aef4a" alt="APIキー画面" width="1920" height="783" data-path="images/integrations/discourse/api-keys.png" />

4. 任意の**Description**（説明）を入力し、**User level**（ユーザーレベル）を**All users**、**Scope**（スコープ）を**Global**に設定して**Save**（保存）をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/create-api-key.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=d2c01c97181036162cdbd5d9647b3578" alt="APIキー作成画面" width="856" height="848" data-path="images/integrations/discourse/create-api-key.png" />

5. 表示されたAPIキーをコピーして保存します。APIキーはこの画面でのみ表示されるため、必ずこの時点で保存してください。

   <img src="https://mintcdn.com/moneyforwardi/SZKfkclEmTw6lE03/images/integrations/discourse/api-key-issued.png?fit=max&auto=format&n=SZKfkclEmTw6lE03&q=85&s=025c082add974d024ea6f07ead235177" alt="APIキー発行画面" width="1536" height="790" data-path="images/integrations/discourse/api-key-issued.png" />

## インテグレーションのセットアップ

1. インテグレーション画面にて**Discourse**を検索します。

2. 前の手順で取得した**APIキー**を入力し、**連携する**をクリックします。

3. Discourseとの連携が成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。正常に完了しない場合は、まず [SaaSとの連携に失敗する場合の対処法](/it-management/saas-management/93nahw45is-trouble) に記載のステップをお試しください。それでも解決しない場合は、[ご提供いただきたい情報](/it-management/saas-management/93nahw45is-trouble#info-to-provide) をご確認のうえ、[サポート窓口](/contact-support)までお問い合わせください。
