Skip to content

Setting up a Databricks Oauth Integration

3 min read · Updated 4 Nov 2026

The article will cover the steps to establish an OAuth integration with Databricks.

OAuth integration is recommended for improved data security and to simplify users’ access to data.

Using an OAuth integration with the Astrato live-query engine means that all security and access rules defined in Databricks are automatically inherited by Astrato; there is no need to resecure the data in Astrato.



  • In Astrato, navigate to the Administration section and select Enterprise Connection

    Astrato Administration page with the Enterprise Connection entry highlighted and an arrow pointing to Administration in the sidebar.

    ​

  • Navigate to the Access integrations tab and click the Add integration button.

    Enterprise Connection page with the Access integration tab selected and the New Integration button at the top right.

  • Select Databricks and leave the screen open.

    Select a Data provider screen offering Snowflake, Google BigQuery and Databricks, with Databricks highlighted.

  • Navigate to your Databricks Warehouse and under the connection detail tab, find the hostname and HTTP path. Make note of these for later use.

    Databricks SQL warehouse Connection details tab with the Server hostname and HTTP path fields highlighted.

    ​

  • Click the workspace name in the top-right corner, then click Manage account.
    ​

    Databricks workspace dropdown listing the workspace astrato-dev-fenj0k and a Manage account option.

    ​

  • Click on the settings tab
    ​

    Welcome to Databricks account console with an arrow pointing to the Settings card.

  • Navigate to app connections, and create a connection using the Add connection button.
    ​

    Databricks Settings page with the App connections tab and the Add connection button highlighted.

    ​

  • Fill out the form:

    • Application name - Meaningful Name

    • Redirect URL - The Astrato redirect URL is located in the enterprise connection Configuration tab, opened in the first phase.

      Astrato Databricks Configuration tab with the Callback URL redirect address highlighted, plus grant type and scopes.

    • and check the box next to All APIs.

    • Set the validity period for the token and the refresh token.

    • Click Add.

      Databricks Add connection form with application name, redirect URL, All APIs scope, client secret, token TTLs and Add button.

  • Copy the Client ID and Client Secret.
    They will be needed later in the Astrato part.
    ​

  • In the open integration that was opened at the start of the process, navigate to the Setup tab.

  • Fill the form and click the Create button.

    Astrato Databricks Setup tab with Integration Name, Databricks account URL, Client ID and Client secret fields and a Create button.

  • Click the Verify Connection at the top.

    Databricks OAuth integration Setup tab showing the Verification section with a red Verify connection button.

    ​

  • When verification is successful, this message will appear.

    Confirmation dialog reading “The connection has been enabled”, telling users to log in via the SSO screen, with an OK button.

    ​

  • To use the integration, navigate to the Data & AI and create a new data connection to Databricks

  • Select the OAuth option for authentication.

    Connect to Databricks form with Authentication type set to OAuth, an Http Path field, an Access integration dropdown and a Test connection button.

    ​

​