> ## Documentation Index
> Fetch the complete documentation index at: https://developer.qaip.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Notion

> QAIPとNotionワークスペースを連携してページを同期

<Warning>
  現在はNotionのデータベースの連携はサポートしていません。
</Warning>

## トークンの準備

[Notion APIインテグレーション](https://www.notion.com/ja/help/create-integrations-with-the-notion-api)を参照して、インテグレーションを作成します。
インテグレーションのトークンを確認し、コピーして安全に保管します（後でQAIPに入力します）。

## ページにコネクトを追加

[インテグレーションの追加と管理](https://www.notion.com/ja/help/add-and-manage-connections-with-the-api)を参照して、対象ページにコネクトを追加（先ほど作成したインテグレーションを選択）します。

<Warning>
  コネクトはページ単位で設定が必要です。QAIPに取り込むページにコネクトが設定できていることをご確認ください。
</Warning>

## ページの取り込み

1. ダッシュボードから「Notion」を選択
2. 「新規作成」をクリック
3. ページのURL `https://www.notion.so/page-<ページID>` と先ほど保管したトークンを入力
4. 「保存をする」をクリック

<Warning>
  1度に取り込み可能な上限の設定は以下の通りです。

  * ページ数: 100
  * ファイル数: 1000
  * ファイルサイズ: 50MB
  * ページの深さ: 10
  * ブロックの深さ: 100
</Warning>
