---
title: Importar páginas de Notion
slug: importar-paginas-de-notion
createdAt: 2024-06-25T12:54:30.377Z
---

Similar a Confluence, también puedes integrar la IA con páginas externas de Notion. Necesitas establecer las credenciales y la URL para un espacio de Notion del cual ingeriremos la documentación.

## Configuración

1. Crea una [integración de Notion ](https://www.notion.so/my-integrations)y guarda de forma segura el Internal Integration Secret, también conocido como `NOTION_INTEGRATION_TOKEN`
2. Añade una conexión a tu nueva integración en tu página o base de datos. Para hacer esto, abre tu página de Notion, ve a Configuración en la parte superior derecha y desplázate hasta `Agregar conexiones` y selecciona tu nueva integración.
3. Obtén el `PAGE_ID` o el `DATABASE_ID` de la página que quieres cargar. El código hexadecimal de 32 caracteres en la ruta de la URL representa el ID. Por ejemplo:

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

![](https://api.archbee.com/api/optimize/bNBm7nPJgXjbjLyfbHNh2/lAN9qJDGGMl_mEB_1kFXJ_aiext-notion-light.png "Importar páginas de Notion")

