> ## Documentation Index
> Fetch the complete documentation index at: https://codegeninc-codegen-bot-update-wake-up-docs-ci-trigger-clari.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Notion Integration

Notion is your team's knowledge base, and now Codegen can tap into it too. Share PRDs, specs, and documentation with Codegen for technical feedback and implementation. A common workflow: pass a PRD to Codegen and it will provide technical insights, comment directly on the document, and then go implement the features described.

## Capabilities

The Notion integration enables seamless access to your team's knowledge base:

* **Access workspace documentation** - Read and analyze existing documentation, specs, and project requirements
* **Update pages and databases** - Modify content, add comments, and keep documentation current
* **Sync development information** - Bridge the gap between planning documents and code implementation
* **Generate knowledge base content** - Create new documentation based on development work and insights

## Permissions

The Codegen Notion integration requires the following permissions:

* **Read workspace content and documents** - Access existing pages, databases, and documentation
* **Update existing pages and documents** - Modify content and add comments for collaboration
* **Create new pages and content** - Generate new documentation and project materials
* **Access user information and emails** - Understand team structure and collaboration context
* **Read database entries and properties** - Access structured data and project information
* **Update database entries and values** - Modify project data and status information
* **Create new databases and structures** - Establish new organizational systems as needed

## How Agents Use Notion

Agents leverage the Notion integration to:

* **Analyze Requirements:** Read PRDs and technical specifications to understand project scope and requirements
* **Provide Technical Feedback:** Comment on documents with implementation insights and technical considerations
* **Update Documentation:** Keep project documentation current as development progresses
* **Bridge Planning and Code:** Connect high-level planning documents with actual code implementation

## Installation

Connect your Notion workspace to Codegen to enable agent interactions with your knowledge base.

<Card title="Connect Notion Workspace" icon="books" href="https://codegen.sh/integrations/notion">
  Authorize Codegen to access your Notion workspace and documentation.
</Card>

<Note>
  The Notion integration requires feature flag access. Contact your team
  administrator to enable this integration.
</Note>

{" "}
