---
title: Import Notion pages
slug: archbee-docs/import-notion-pages
docTags: 
createdAt: 2024-06-25T12:54:30.000Z
---

Similar to Confluence, you can also integrate AI with external Notion pages. You need to set credentials and the URL for a Notion space from which we will ingest the documentation.

## Setup

1. Create a [Notion integration ](https://www.notion.so/my-integrations)and securely record the Internal Integration Secret, also known as `NOTION_INTEGRATION_TOKEN`
2. Add a connection to your new integration on your page or database. To do this, open your Notion page, go to Settings in the top right and scroll down to `Add connections` and select your new integration.
3. Get the `PAGE_ID` or `DATABASE_ID` for the page you want to load. The 32 char hex in the URL path represents the ID. e.g.,:

:::BlockQuote
PAGE\_ID of: [https://www.notion.so/skarard/LangChain-Notion-API-b34ca03f219c4420a6046fc4bdfdf7b4](https://www.notion.so/skarard/LangChain-Notion-API-b34ca03f219c4420a6046fc4bdfdf7b4) is [`b34ca03f219c4420a6046fc4bdfdf7b4`](https://www.notion.so/skarard/LangChain-Notion-API-b34ca03f219c4420a6046fc4bdfdf7b4)
:::

![](https://app.archbee.com/api/optimize/bNBm7nPJgXjbjLyfbHNh2/lAN9qJDGGMl_mEB_1kFXJ_aiext-notion-light.png "Import Notion pages")

