> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to register your own Databricks OAuth app

> Register a custom OAuth app connection with Databricks and connect it to Nango

This guide shows you how to register your own app with Databricks to obtain your OAuth credentials (client ID & secret). These are required to let your users grant your app access to their Databricks account.

**1. Create a Databricks account**

If you don't already have one, sign up for a [Databricks trial](https://www.databricks.com/try-databricks). No credit card is required.

**2. Create a new app connection**

1. Log in as an account admin to the account console for your cloud: [accounts.cloud.databricks.com](https://accounts.cloud.databricks.com/) (AWS), [accounts.gcp.databricks.com](https://accounts.gcp.databricks.com/) (GCP) or [accounts.azuredatabricks.net](https://accounts.azuredatabricks.net/) (Azure).
2. Click **Settings** in the sidebar and open the **App connections** tab.
3. Select **Custom apps** and click **Add connection**.

**3. Configure OAuth settings**

1. Enter an **Application Name**.
2. Under **Redirect URLs**, add `https://api.nango.dev/oauth/callback`.

**4. Add the scopes**

1. Under **Access scopes**, click **Add scope** and add the API scopes your integration needs: `all-apis`, or narrower ones such as `scim`. Add the same scopes to your integration in Nango. They replace the default `sql` scope.
2. Keep `offline_access` so Nango gets a refresh token. You can keep the default `openid`, `email` and `profile` scopes.

See [Databricks' API scopes](https://docs.databricks.com/api/account/scopes) for narrower scopes.

**5. Copy your credentials**

1. Keep **Generate a client secret** checked so the app is a confidential client, then click **Add**.
2. In the **Connection created** dialog, copy the **Client ID** and **Client Secret**. You'll need them when configuring your integration in Nango. The client secret can't be retrieved later.

Updates to OAuth applications can take 30 minutes to process, so the app may not accept sign-ins right away.

**6. Next**

Follow the [*Quickstart*](https://nango.dev/docs/getting-started/quickstart.md).

For more details on Databricks' OAuth implementation, see [Databricks' OAuth user authorization documentation](https://docs.databricks.com/gcp/en/dev-tools/auth/oauth-u2m) and [Enable or disable partner OAuth applications](https://docs.databricks.com/gcp/en/integrations/enable-disable-oauth).

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.