> ## 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.

# Exment

> Exmentの連携方法です。Exmentへの、管理者のログインから、連携方法まで一連の手順を解説します。

## サポートする機能

<Badge color="blue">アカウント削除</Badge>

## 事前準備

### Exmentへのログイン方法

Exmentのログインページにて、メールアドレス（もしくはユーザーコード）・パスワードを入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/x20rqqc9e7/1667963808212-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=93a2a9edcb024172680b7c4d914811c6" alt="Exmentログインページ" width="1026" height="766" data-path="images/integrations/x20rqqc9e7/1667963808212-image.png" />

### ワークスペースキーの取得方法

Exmentログイン後、URLの一部がワークスペースキーとなるので、保存しておきます。

https\://`{ワークスペースキー}`.exment.net

<img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/x20rqqc9e7/1667964972947-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=554913c3b9a7244ee07d8af18014deaa" alt="ワークスペースキー確認画面" width="1416" height="188" data-path="images/integrations/x20rqqc9e7/1667964972947-image.png" />

### APIの有効化

ExmentでAPIを利用するため、以下のドキュメントを参考にAPIを有効化ください。

[Exmentマニュアル：API設定](https://exment.net/docs/#/ja/api?id=api%e8%a8%ad%e5%ae%9a)

### クライアントID、シークレットキーの確認方法

1. 管理者画面のAPI設定に移動し、右上の「New」ボタンをクリックします。

   <img src="https://mintcdn.com/moneyforwardi/tMe7Ck7tZsW3yk90/images/integrations/x20rqqc9e7/1667965137774-image.png?fit=max&auto=format&n=tMe7Ck7tZsW3yk90&q=85&s=9b87db79cc92d76db533747286ff3438" alt="API設定画面" width="1920" height="599" data-path="images/integrations/x20rqqc9e7/1667965137774-image.png" />

2. API keyを作成します。以下の通り入力し、**Save**をクリックします。

   * Authentication Type：`Client Login on Display`
   * Application Name：`Moneyforward IT Management Cloud`
   * Redirect URL：`https://itmc.i.moneyforward.com/oauth/callback`

   <img src="https://mintcdn.com/moneyforwardi/RdJaHJdvCZdlODVw/images/integrations/x20rqqc9e7/1667965323281-image.png?fit=max&auto=format&n=RdJaHJdvCZdlODVw&q=85&s=202ae94bbd311b41e6c931a9c51faaff" alt="APIキー作成画面" width="1455" height="451" data-path="images/integrations/x20rqqc9e7/1667965323281-image.png" />

3. Client IDとClient secretが表示されます。Client IDがクライアントID、Client secretがクライアントシークレットとなるので、それぞれ保存します。（画面を閉じた後もコピーは可能です）

   <img src="https://mintcdn.com/moneyforwardi/RdJaHJdvCZdlODVw/images/integrations/x20rqqc9e7/1667965505844-image.png?fit=max&auto=format&n=RdJaHJdvCZdlODVw&q=85&s=9048f36cba8c462870c576c599185342" alt="クライアントIDとシークレット表示画面" width="2336" height="926" data-path="images/integrations/x20rqqc9e7/1667965505844-image.png" />

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

1. インテグレーション画面に、**Exment**で検索します。

2. 前の手順で取得した**ワークスペースキー、クライアントID、クライアントシークレット**を入力し、**連携する**をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/QzbS1Vmxd8p6iTrg/images/integrations/x20rqqc9e7/1667965673103-image.png?fit=max&auto=format&n=QzbS1Vmxd8p6iTrg&q=85&s=ccf01502a2fec687df54240d6bf3ee32" alt="インテグレーション入力画面" width="472" height="573" data-path="images/integrations/x20rqqc9e7/1667965673103-image.png" />

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