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

# Notion

> Guide to Integrating Notion with ChatNode

Integrating Notion with ChatNode enables seamless synchronization of your Notion pages, enhancing your agent's knowledge base with structured and updated data. Follow this step-by-step guide to set up and manage the Notion integration effectively.

#### Steps to Integrate Notion with ChatNode:

1. **Navigate to the Data Section**:

   * Open your ChatNode dashboard and go to the **Data** tab.

   * Under the **Integrations** section on the left menu, click on **Notion**.

2. **Connect Your Notion Workspace**:

   * Click the **Connect** button on the Notion integration panel.

   * A popup will appear, requesting permission for ChatNode to access your Notion workspace. Select the pages you want ChatNode to use.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/connect-notion.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=60ce1edf1f9aaa70046284d5099cc1a7" alt="Connect Notion" width="2936" height="938" data-path="images/connect-notion.webp" />

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/confirm-connect-notion.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=da8831e5bf41cc461d4d60a1034518c7" alt="Confirm Connect Notion" width="2130" height="730" data-path="images/confirm-connect-notion.webp" />

3. **Select Pages**:

   * In the Notion permissions screen, browse through your workspace and tick the specific pages or databases you want to integrate.

   * After selecting the pages, click **Select Pages** to confirm your choices.

   * Once the selection is complete, click **Allow Access** to grant permissions.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/allow-access-notion.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=1635edd2e7223bc5b39469d0b6a69d7d" alt="Allow Access Notion" width="1012" height="1268" data-path="images/allow-access-notion.webp" />

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/select-pages-notion.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=6ef31647c4147717f72baba97b2c7b67" alt="Select Pages Notion" width="1012" height="1216" data-path="images/select-pages-notion.webp" />

4. **Training Data**:

   * After granting access, your selected pages will appear in the Notion integration section on ChatNode.

   * Each page or article is listed with its training status and the character count of the content.

   * To train your agent on the selected data, ensure that the articles are listed and properly synced.

#### Managing Your Integrated Data:

1. **Download Articles**:

   * Beside each integrated article, you'll find an option to download its content as a `.txt` file. This is useful for offline reviews or backups.

<img className="block" src="https://mintcdn.com/chatnode-55/05w5r_aWzpE6k_xA/images/download-notion.webp?fit=max&auto=format&n=05w5r_aWzpE6k_xA&q=85&s=1c65f465e9cf1fa19fbb89edad32e1a1" alt="Download Notion" width="2934" height="1170" data-path="images/download-notion.webp" />

2. **Retrain Specific Pages**:

   * If you've added new information or updated existing content in your Notion pages, tick the box beside the relevant articles and click **Retrain**. This ensures your agent reflects the latest updates.

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/retrain-notion.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=53df404b3b88d4819a31f86371daf7cd" alt="Retrain Notion" width="2932" height="1410" data-path="images/retrain-notion.webp" />

3. **Modify Integration**:

   * To add new pages or remove existing ones, use the **Modify** button. This will take you back to the Notion permissions page, where you can adjust the page selection.

<img className="block" src="https://mintcdn.com/chatnode-55/jFBo-mQ5QUzNbKQZ/images/modify-notion.webp?fit=max&auto=format&n=jFBo-mQ5QUzNbKQZ&q=85&s=13d353708a8d6662a515a1ef4962d640" alt="Modify Notion" width="2934" height="1170" data-path="images/modify-notion.webp" />

4. **Track Training Progress**:

   * Monitor the training status for each article. You may see statuses like **Training**, **Waiting**, or **Completed**. Wait for the training process to finish before testing the agent with the new data.

#### Benefits of Notion Integration:

* **Dynamic Updates**: Keep your agent knowledge base updated in real time by syncing changes from Notion.

* **Streamlined Data Management**: Easily manage which Notion pages are integrated and retrain only the necessary parts.

* **Content Download**: Export Notion pages in `.txt` format for additional flexibility and use cases.

By integrating Notion with ChatNode, you ensure that your agent is equipped with the most relevant and accurate information. Use this guide to set up and maintain the integration effectively, allowing your agent to provide smarter and faster responses.
