Skip to content
Last updated

Databricks integration

Databricks is a unified data analytics platform for data engineering, data science, and machine learning. Integrating Databricks with Frontegg allows your application to list clusters, run jobs, and execute SQL queries on behalf of your users using OAuth 2.0.


Prerequisites

Connect Databricks

Step 1: Open the account console

Navigate to accounts.cloud.databricks.com and sign in. This is the Databricks account console where you manage workspaces, users, and OAuth app connections.

Databricks account console home

Step 2: Open App connections

In the left navigation, click Settings. On the Settings page, click the App connections tab. This page lists all OAuth applications registered for your Databricks account.

Click Add connection to create a new OAuth application.

Databricks App connections page with Add connection highlighted

Step 3: Review the Add connection form

The Add connection form lets you configure a new OAuth application with a name, redirect URLs, and access scopes.

Databricks Add connection form

Step 4: Fill in the connection details

Complete the form with the following values:

  • Application Name — Enter a descriptive name, for example Frontegg Integration.
  • Redirect URLs — Enter the following URL:
    • https://YOUR_MCP_GATEWAY_URL/integration-callback
  • Access scopes — Select the scopes required for your integration:
ScopeDescription
sqlSQL execution
all-apisFull API access
  • Client secret — Leave Generate a client secret checked. This is required for the OAuth authorization code flow.

Click Add to create the connection.

Databricks Add connection form filled in

Step 5: Copy your credentials

After clicking Add, a dialog displays your Client ID and Client Secret. Copy both values and store them in a secure location.

Copy your Client Secret now

The Client Secret is shown only once. Copy it immediately and store it in a secure location. If you lose it, you must delete the connection and create a new one.

Databricks connection created with Client ID visible and Client Secret blurred

Click Done to close the dialog and return to the App connections list.

Step 6: Verify the connection was created

The App connections list now shows your Frontegg Integration entry with its Client ID and creation date.

Databricks App connections list showing Frontegg Integration

Configure the Frontegg portal

Once you have your Client ID and Client Secret, configure the integration in the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Databricks.
  2. Enter your Databricks instance URL — the hostname of your Databricks workspace. For example, if your workspace URL is https://dbc-12345678-abcd.cloud.databricks.com, your instance is dbc-12345678-abcd.
  3. Enter the Client ID and Client Secret from the dialog above.
  4. Select the required scopes.
  5. Click Save.

Keep your credentials secure

Never share or commit your Client Secret to version control.

Additional resources