Package Manager
Install the@notionhq/client package using your preferred package manager:
Requirements
The Notion SDK has the following minimum version requirements:Runtime
- Node.js:
>= 18
TypeScript (Optional)
- TypeScript:
>= 5.9
The SDK includes comprehensive TypeScript definitions out of the box. No additional
@types packages are required.Version Compatibility
Different versions of the Notion SDK are designed to work with specific Notion API versions:Verify Installation
After installation, verify that the package is properly installed by importing it in your project:Next Steps
Quickstart
Learn how to initialize the client and make your first API call
Authentication
Set up authentication with integration tokens or OAuth