> For the complete documentation index, see [llms.txt](https://manuals.i-reporter.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manuals.i-reporter.jp/output-the-data/external-systems-integration/preset-for-bim360docs.md).

# Forma Data Managemeに連携する場合の事前設定

## **自動ファイル出力設定**

本機能は、i-Reporterの 「自動ファイル出力機能」 で出力したファイルを Forma Data Manageme へ連携する機能です。\
あらかじめ、i-Repo Managerで 「自動ファイル出力機能」 の設定がONになっている必要があります。

{% hint style="info" %}
詳細は、 「[自動ファイル出力設定](/output-the-data/data-output/auto-fileoutputsetting.md)」 をご参照ください。
{% endhint %}

## **Forma Data Manageme側での事前設定**

i-ReporterとForma Data Managemeが連携するには、Forma Data Manageme側で以下の事前設定が必要です。

1. Forma Data Manageme側で連携用のアプリを作成します。
2. アカウントとアプリとの関連付けの設定を行い、アプリにアカウント管理者のアクセスを許可します。

{% hint style="success" %}
i-Reporterは、Forma Data Manageme APIへのアクセスに2-legged 認証を使用します。
{% endhint %}

### **アプリを作成**

AUTODESK Platform Services に管理者アカウントでサインインし、アプリを作成します。

{% hint style="info" %}
▼AUTODESK Platform Services

<https://aps.autodesk.com/>
{% endhint %}

「Callback URL」は使用しませんが必須入力のためダミーのURLを入力します。\
「APIs」は「Autodesk Docs API」 と「Data Management API」を選択します。\
\
アプリが作成されたら、「Client ID」と「Client Secret」をこの後の設定のために控えておきます。\
※「アカウントとアプリの関連付け設定」と、「i-Repo ManagerでのForma Data Manageme連携設定」に使用します。

{% hint style="success" %}
詳細な手順については、AUTODESK Platform Services のマニュアルをご参照ください。
{% endhint %}

### **アカウントとアプリの関連付け**

Webブラウザで Autodesk Docs（Forma Data Manageme）に管理者アカウントでサインインし、アカウントとアプリの関連付けを行います。

連携対象のプロジェクトの「カスタム統合機能を追加」では、アクセス権に「Document Management」を指定します。\
「[アプリを作成](#apuriwo)」で控えた「Client ID」を使用します。

{% hint style="success" %}
詳細な手順については、Autodesk Docs（Forma Data Manageme）のマニュアルをご参照ください。
{% endhint %}

## **i-Repo Managerでの**Forma Data Manageme**連携設定**

i-Repo Manager上部メニューの「システム管理」 ＞ 「外部システム連携設定」 ＞ 「Forma Data Manageme連携設定」にて、「Forma Data Manageme側での設定 ＞ [アプリを作成](#apuriwo)」 にて控えた以下２つの設定値を入力します。

* ClientID
* Client Secret

【手順】

1. i-Repo Manager上部メニューの「システム管理」 ＞ 「外部システム連携設定」 ＞ 「Forma Data Manageme連携設定」をクリックします。
2. 「Forma Data Manageme連携設定」画面にて、画面右上の「編集」ボタンをクリックします。
3. 「ClientID」 と 「Client Secret」をそれぞれ入力し、「認証」ボタンをクリックします。
4. 「▼連携対象プロジェクト選択」画面にて、連携するForma Data Managemeのプロジェクトにチェックを入れて「登録」ボタンをクリックします。
5. 連携設定ができると、「▼Forma Data Manageme連携情報」にハブ情報、プロジェクト情報が表示されます。

{% hint style="info" %}
事前設定完了後は、帳票定義ごとのアップロード先フォルダーの設定を行います。

「[帳票定義ごとのアップロード先フォルダーの設定（Googleドライブ、Box、Forma Data Manageme共通）](/output-the-data/external-systems-integration/folder-settings.md)」 をご参照ください。
{% endhint %}
