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

# DirectCloud

> DirectCloudとの連携方法です。

## サポートする機能

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

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

## 事前準備

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

[DirectCloudログインページ](https://boxmanager.directcloud.jp/auth/login)にて、会社IDと管理者権限のユーザーID・パスワードを入力しログインします。

<img src="https://mintcdn.com/moneyforwardi/nsfls_1kFmYtx8ta/images/integrations/6yj9az049u/1660703098371-image.png?fit=max&auto=format&n=nsfls_1kFmYtx8ta&q=85&s=9aae2c313d1e13f58468920a25d083cb" alt="DirectCloudログイン画面" width="806" height="488" data-path="images/integrations/6yj9az049u/1660703098371-image.png" />

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

DirectCloudにログイン後、左メニューから**共有＞カスタム設定**と進みます。

<img src="https://mintcdn.com/moneyforwardi/nsfls_1kFmYtx8ta/images/integrations/6yj9az049u/1660703392476-image.png?fit=max&auto=format&n=nsfls_1kFmYtx8ta&q=85&s=55fd1caf3f23012908a081737556156b" alt="カスタム設定メニュー" width="589" height="607" data-path="images/integrations/6yj9az049u/1660703392476-image.png" />

カスタム設定ページ内に、**DirectCloud API**という項目があります。

DirectCloud APIを\*\*`使用する`**にし、**APIキーのタイプ：管理者**に表示されている**ServiceとService Key\*\*を保存します。これが、**クライアントIDとクライアントシークレット**となります。

<img src="https://mintcdn.com/moneyforwardi/nsfls_1kFmYtx8ta/images/integrations/6yj9az049u/1660703790208-image.png?fit=max&auto=format&n=nsfls_1kFmYtx8ta&q=85&s=864816404c2f901f8ce0ff6ece70b7b1" alt="DirectCloud API設定画面" width="1115" height="704" data-path="images/integrations/6yj9az049u/1660703790208-image.png" />

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

マネーフォワード Adminaのインテグレーション画面にて、**DirectCloud**で検索します。

<img src="https://mintcdn.com/moneyforwardi/nsfls_1kFmYtx8ta/images/integrations/6yj9az049u/1660785318985-image.png?fit=max&auto=format&n=nsfls_1kFmYtx8ta&q=85&s=83baf42cf53db9dd322865aae23ef25e" alt="Adminaインテグレーション検索画面" width="816" height="423" data-path="images/integrations/6yj9az049u/1660785318985-image.png" />

下記の通り、事前準備で取得した内容を入力し、**連携する**をクリックします。

* クライアントID：Service
* クライアントシークレット：Service Key
* ワークスペースキー：会社ID
* ユーザー名：ユーザーID（管理者権限）
* パスワード：DirectCloudログイン用パスワード（管理者権限）

<img src="https://mintcdn.com/moneyforwardi/nsfls_1kFmYtx8ta/images/integrations/6yj9az049u/1660785339854-image.png?fit=max&auto=format&n=nsfls_1kFmYtx8ta&q=85&s=7b9ad6ba9e05b61cb2c1b502c57560f4" alt="DirectCloud連携設定画面" width="448" height="778" data-path="images/integrations/6yj9az049u/1660785339854-image.png" />

DirectCloudとの連携に成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。

正常に完了しない場合は、インテグレーション画面のステータスタブから**編集**し、再度連携をお試しください。

解決しない場合はチャットにてお問い合わせください。

DirectCloudの連携概要については[連携ページ](http://admina.moneyforward.com/jp/integrations/directcloud)をご覧ください。
