Skip to main content
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. 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 (AWS), accounts.gcp.databricks.com (GCP) or 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 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.
For more details on Databricks’ OAuth implementation, see Databricks’ OAuth user authorization documentation and Enable or disable partner OAuth applications.