Overview
CrewAI supports integration with Notion, enabling your crews to access workspaces, databases, pages, and comments.Prerequisites
- A Notion account
- Workspace owner or admin permissions to create integrations
- Access to Notion Integrations
Notion Integration Setup
Step 1: Create a New Integration
- Navigate to Notion Integrations
- Click New integration
-
Fill in the integration details:
- Name: Enter a name (e.g., “CrewAI”)
- Logo: Optional logo for the integration
- Associated workspace: Select the workspace to integrate with
- Click Submit
Step 2: Configure Capabilities
-
In your integration settings, configure the Capabilities:
- Content Capabilities: Select what content the integration can access
- Comment Capabilities: Enable if you need to create comments
- User Capabilities: Enable to read user information
-
Under OAuth Domain & URIs:
- Redirect URIs: Add your callback URL:
Replace
<YOUR_APPLICATION_HOST>with your CrewAI application domain.
- Redirect URIs: Add your callback URL:
Step 3: Get Your Credentials
-
In the Secrets section, locate:
- OAuth client ID: Your integration’s client ID
- OAuth client secret: Click to reveal the secret
- Store these credentials securely for CrewAI configuration
Required Scopes
Notion uses capability-based permissions rather than traditional OAuth scopes. The following scopes are used during OAuth:| Scope | Description |
|---|---|
read:user | Read user information from the workspace |
insert:comments | Create comments on pages and discussions |
Share Integration with Content
After OAuth authentication, users must share the integration with specific pages or databases:- Open a Notion page or database
- Click the … menu in the top right
- Select Connections (or Add connections)
- Find and select your integration name
- Click Confirm
The integration can only access content that has been explicitly shared with it. This is a Notion security feature to ensure users have control over what data integrations can access.
Configure CrewAI Helm Values
Add your Notion credentials to your CrewAI Helm values:Related Guides
- Google Workspace Integrations - Gmail, Calendar, Drive, Sheets, Slides, Docs, Contacts
- Microsoft 365 Integrations - Outlook, OneDrive, Teams, SharePoint, Excel, Word
- HubSpot Integration - CRM contacts, deals, companies, tickets
