Back to plugin list
notion
Official

Notion

This plugin is in preview.

The Notion source plugin for CloudQuery loads data from Notion to any of the supported CloudQuery destinations

Publisher

cloudquery

Repositorygithub.com
Latest version

v1.1.1

Type

Source

Platforms
Date Published

Feb 20, 2024

Price

Free

Set up process


brew install cloudquery/tap/cloudquery

1. Download CLI and login

See installation options

2. Create source and destination configs

Plugin configuration

cloudquery sync notion.yml postgresql.yml

3. Run the sync

CloudQuery sync

Overview

Notion Source Plugin

A Notion source plugin for CloudQuery that loads data from Notion to any of the supported CloudQuery destinations (e.g. PostgreSQL, BigQuery, Snowflake, and more).

Example Configuration

This example syncs from Notion to a Postgres destination. The (top level) source spec section is described in the Source Spec Reference.
kind: source
spec:
  name: "notion"
  path: "cloudquery/notion"
  registry: "cloudquery"
  version: "v1.1.1"
  destinations:
    - "postgresql"
  spec:
    bearer_token: "${NOTION_SECRET_KEY}"

Authentication

In Order for CloudQuery to sync resources from your Notion setup, you will need to create a notion integration key and export the Token in NOTION_SECRET_KEY environment variable. How to create the notion integration key? see here. Make sure to give proper Content Capabilities and User Capabilities from capabilities settings. Also give your integration page permissions see here. Only pages and databases with permission will able to sync.
export NOTION_SECRET_KEY=<your_notion_integration_key>

Configuration Reference

This is the (nested) spec used by the Notion source plugin:
  • bearer_token (string, required):
    The bearer token to use for authentication.


Subscribe to product updates

Be the first to know about new features.