Configure authentication to Notion
This feature is in Beta. Workspace admins can control access to this feature from the Previews page by opting into the Notion connector preview. See Manage Databricks previews.
This page shows how to configure Notion to enable authentication from Databricks for the Notion connector. Use the credentials retrieved from the steps on this page to create a Unity Catalog connection in Databricks.
Prerequisites
- You must be able to create a Notion public integration (OAuth app) that you own. Create it in the Notion integrations dashboard.
- You need your Databricks workspace domain to set the integration's redirect URI.
Configure Notion
Register a Notion public integration to obtain the OAuth client credentials that Databricks uses to authenticate.
- Sign in to the Notion integrations dashboard.
- Create a new integration.
- Complete the required fields, including the integration name, associated workspace, and authentication method.
- Set the Redirect URI to
https://<your-workspace-domain>/login/oauth/http.html. For example,https://<your-workspace-domain>/login/oauth/http.html. - Create the integration.
- Copy the OAuth Client ID and OAuth Client Secret. You use these when you create the connection.
Notion uses a page-picker permission model instead of OAuth scopes. You choose which pages and data sources to share with the integration when you create the connection, not during app registration. See Create a Notion connection.
Next steps
Create a Notion connection in Databricks. See Create a Notion connection.