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

# Notion

> Connect BonData to Notion for workspace data

Notion is an all-in-one workspace for notes, documents, wikis, project management, and databases. With BonData, you can connect to your Notion workspace to read and analyze page, database, and content data within Agent workflows.

## Notion Internal Integration Setup

Follow these steps to create an Internal Integration for BonData.

### Step 1: Create an Integration

1. Go to [Notion Integrations](https://www.notion.so/my-integrations)
2. Click **New integration**
3. Enter a name (e.g., `BonData`)
4. Select the workspace you want to connect
5. Click **Submit**

### Step 2: Configure Capabilities

Under **Capabilities**, ensure these are enabled:

* **Read content** - to access page and database content
* **Read user information** - to see user details (optional)

### Step 3: Copy the API Key

1. Go to the **Secrets** section
2. Click **Show** next to the Internal Integration Secret
3. Click **Copy** - the key starts with `secret_`

### Step 4: Share Pages with the Integration

<Warning>
  **Important**: The integration can only access pages explicitly shared with it.
</Warning>

1. Open the Notion page or database you want to connect
2. Click **Share** in the top-right corner
3. Click **Invite**
4. Search for your integration name and select it
5. Repeat for all pages/databases you want to sync

### Step 5: Enter Credentials

Enter your Internal Integration Secret in BonData.

## Required Fields

| Field   | Description                                               |
| ------- | --------------------------------------------------------- |
| API Key | Internal Integration Secret from Notion Integrations page |
