# Autodesk Docsに連携する場合の事前設定

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

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

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

## Autodesk Docs**側での事前設定**

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

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

{% hint style="success" %}
i-Reporterは、Autodesk Forge 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でのAutodesk Docs連携設定」に使用します。

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

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

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

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

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

## **i-Repo Managerでの**Autodesk Docs**連携設定**

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

* ClientID
* Client Secret

【手順】

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

<figure><img src="/files/RgIXILKmqCgVPQa571es" alt=""><figcaption></figcaption></figure>

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.i-reporter.jp/output-the-data/external-systems-integration/preset-for-bim360docs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
