Configuring OAuth U2M connections to Databricks
Last updated
Was this helpful?
Last updated
Was this helpful?
As an Admin, you can enable Databricks OAuth U2M connections in your organization, which is one of the preferred methods for connecting to Databricks. Once the integration setup is completed, all users in your organization will be able to create Databricks OAuth U2M connections.
Databricks strongly recommends using OAuth over Personal Access Tokens. OAuth tokens are automatically refreshed by default and do not require the direct management of the access token, improving your security against token hijacking and unwanted access.
To get started, navigate to Settings > Advanced > Integrations, where you'll find a list of available integrations. Click on the Add button next to OAuth U2M connections to Databricks to start the setup process. This will open the new integration form.
Login to Databricks Account Console
Navigate to Settings > App connections
Click on Add connection. The new connection form will appear:
For the Redirect URL use your CARTO tenant domain followed by /connections/oauth/databricks/callback (i.e. https://clausa.app.carto.com/connections/oauth/databricks/callback).
For Access scopes, select All APIs.
Make sure to check Generate a client secret.
Now that you have registered the OAuth application, copy the newly generated Client ID and Client Secret from Databricks and paste it in the integration form.
For Host, use your Databricks instance name URL, for example dbc-xxxxx113-0000.cloud.databricks.com
or carto-data-science.cloud.databricks.com
. Learn more about this on the official Databricks documentation.
Once you've filled all this information, click on Save. The integration will be saved and you will be back in the Integrations list. To validate your setup, try to create a Databricks OAuth U2M connection as described in our Databricks OAuth U2M connection guide.