Back to plugin list
notion
Official
Premium

Notion

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

Publisher

cloudquery

Latest version

v2.2.1

Type

Source

Platforms
Date Published

Price per 1M rows

Starting from $15

monthly free quota

1M rows

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: "v2.2.0"
  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.



© 2024 CloudQuery, Inc. All rights reserved.