Share via


Configure OAuth U2M for Confluence ingestion

Important

This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Azure Databricks previews.

This page describes how to configure OAuth user-to-machine (U2M) authentication for Confluence ingestion into Azure Databricks.

Prerequisites

To ingest from Confluence, you need the following:

  • A Confluence account with appropriate permissions to access the spaces and pages you want to ingest.
  • Access to create OAuth applications in your Confluence instance.

Configure Confluence for OAuth

  1. Visit https://developer.atlassian.com/console/myapps/.

  2. Optionally click Create > OAuth 2.0 integration. To use an existing OAuth app instead, add the required scopes.

  3. Provide a name for the integration, then click Create.

  4. Visit Permissions > Confluence API (under API scopes) > Add.

  5. Click Granular Scopes > Edit Scopes, then add the following scopes to the OAuth app:

    • read:page:confluence
    • read:attachment:confluence
    • read:space:confluence
    • read:label:confluence
    • read:configuration:confluence
  6. Go to Authorization and input the redirect URI as follows:

    https://<databricks_workspace_URL>/login/oauth/lakehousefederation.html

    For example:

    https://my-databricks-account.cloud.databricks.com/login/oauth/lakehousefederation.html

  7. Go to Settings and record the client ID and the client Secret. You’ll need this to create a Unity Catalog connection.

Next steps

An admin can now use Catalog Explorer to create a connection so that non-admins can create pipelines.