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

# Kommo

> Kommoとの連携手順です。KommoでクライアントID・クライアントシークレットを取得後、インテグレーション画面で入力して連携します。

## 事前準備

<Info>
  ・連携には管理者権限のアカウントが必要です。
</Info>

### ログイン方法

[Kommoログインページ](https://www.kommo.com/)にて、メールアドレス・パスワードを入力し、ログインします。

<img src="https://mintcdn.com/moneyforwardi/Esz-euogDw_FDV-j/images/integrations/xjlzbaix6p-kommo/001.png?fit=max&auto=format&n=Esz-euogDw_FDV-j&q=85&s=4dc73296969f90accd916f11e4747401" alt="Kommoログイン画面" width="1247" height="906" data-path="images/integrations/xjlzbaix6p-kommo/001.png" />

### クライアントID・クライアントシークレットの取得方法

1. 招待されたアカウントや紐付けられただけのアカウントではなく、自身が所有・管理しているアカウントを選択します。
   ※画像の場合、**itdev** を選択してください。

   <img src="https://mintcdn.com/moneyforwardi/RdJaHJdvCZdlODVw/images/integrations/xjlzbaix6p-kommo/002.png?fit=max&auto=format&n=RdJaHJdvCZdlODVw&q=85&s=4503638af891c52049b84a22fcadf938" alt="アカウント選択画面" width="2658" height="866" data-path="images/integrations/xjlzbaix6p-kommo/002.png" />

2. **Settings** > **Integration marketplace** > **+Create Integration** をクリックします。

   <img src="https://mintcdn.com/moneyforwardi/Esz-euogDw_FDV-j/images/integrations/xjlzbaix6p-kommo/003.png?fit=max&auto=format&n=Esz-euogDw_FDV-j&q=85&s=64d3932d9a0b2505ec367a3c35991db7" alt="Create Integration画面" width="1895" height="990" data-path="images/integrations/xjlzbaix6p-kommo/003.png" />

3. 表示された入力欄に以下を入力し、**Save** をクリックします。

   OAuthのコールバック（リダイレクト）URLは、利用している環境によって異なります。本番環境（メイン）の場合は `https://itmc.i.moneyforward.com/oauth/callback` または `https://itmc-sbn.i.moneyforward.com/oauth/callback` を入力します。

   また、「すべて」または「アカウントデータ」へのアクセスを許可します。**Integration name** には **当サービス** と入力することを推奨します。

   <img src="https://mintcdn.com/moneyforwardi/RdJaHJdvCZdlODVw/images/integrations/xjlzbaix6p-kommo/004.png?fit=max&auto=format&n=RdJaHJdvCZdlODVw&q=85&s=517c7916bf9d4f72825704e4b566819c" alt="Create Integration入力画面" width="1830" height="1232" data-path="images/integrations/xjlzbaix6p-kommo/004.png" />

4. 手順を進め、表示された **Integration ID** をコピーします。こちらが **クライアントID** です。次に、**Generate secret key** をクリックします。
   （シークレットキーを忘れた場合は、**Regenerate secret key** をクリックしてください。）

   <img src="https://mintcdn.com/moneyforwardi/tMe7Ck7tZsW3yk90/images/integrations/xjlzbaix6p-kommo/005.png?fit=max&auto=format&n=tMe7Ck7tZsW3yk90&q=85&s=1aea25bf2da260af4d6b3b8da9ccda19" alt="Generate secret key画面" width="1820" height="1188" data-path="images/integrations/xjlzbaix6p-kommo/005.png" />

   <img src="https://mintcdn.com/moneyforwardi/Esz-euogDw_FDV-j/images/integrations/xjlzbaix6p-kommo/006.png?fit=max&auto=format&n=Esz-euogDw_FDV-j&q=85&s=3d9fe525c0736b06c299ad9f5d8b7af6" alt="シークレットキー生成確認画面" width="496" height="220" data-path="images/integrations/xjlzbaix6p-kommo/006.png" />

5. 次に、**Confirm** をクリックすると、下のボックスに **Secret key（クライアントシークレット）** が表示されるので、コピーします。

   <img src="https://mintcdn.com/moneyforwardi/Esz-euogDw_FDV-j/images/integrations/xjlzbaix6p-kommo/007.png?fit=max&auto=format&n=Esz-euogDw_FDV-j&q=85&s=bf2528171df7c435c7bc90224f9bb35d" alt="Secret key表示画面" width="497" height="415" data-path="images/integrations/xjlzbaix6p-kommo/007.png" />

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

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

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

   <img src="https://mintcdn.com/moneyforwardi/asVFolHD2Z2R-UWD/images/integrations/xjlzbaix6p-kommo/kommo.png?fit=max&auto=format&n=asVFolHD2Z2R-UWD&q=85&s=cceaaecd365a225cb4029100926a72d4" alt="Kommoインテグレーション設定画面" width="732" height="956" data-path="images/integrations/xjlzbaix6p-kommo/kommo.png" />

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