How to set up and configure Notion
Blog post from Unified.to
Setting up and configuring a public Notion application involves registering the integration, understanding the difference between internal and public integrations, and using the Unified API to query pages and databases. Internal integrations are confined to a single workspace, while public integrations are accessible across multiple workspaces and use the OAuth 2.0 protocol for access. Registering a public integration on Notion's platform requires creating the integration, obtaining OAuth credentials, and selecting necessary permissions. To query databases, the Unified KMS endpoint is used, where database entries are treated as pages and can be sorted and filtered with various parameters. Notion does not offer programmatic webhook creation, so users must manually create them via the Notion integrations page, specifying a public Webhook URL and selecting the desired events. Once the webhook is created, Notion sends a verification token that must be validated to finalize the subscription process, allowing real-time event reception through Unified.to.