Skip to main content
With Cloud Integrations, you can power your Domo instance using Databricks. Use this guide to set up a Databricks integration for read-only and read/write access. After setup, you can use Databricks DataSets to create cards, configure alerts, and build Magic ETL DataFlows. Domo on Databricks overview page

Architectural Overview

The diagram below shows how Domo connects to Databricks through Cloud Integrations. Domo queries data live from your Databricks environment; no data is copied to Domo storage. databricks architectural overview.jpg

Before You Begin

  • (Conditional) Create a Databricks service account—Required if you authenticate with a service account, or to set up writeback and native transform. Create a new Databricks account specifically for this integration. You can use any account with read access in Databricks, but best practice is a dedicated service account with read access to your default Databricks environment.
  • (Conditional) Register a Databricks OAuth app connection—Required if you authenticate with U2M OAuth. In the Databricks Account Console, add a custom OAuth app connection for Domo, and have your SQL warehouse’s server hostname, port, and HTTP path ready. See Configure OAuth.
  • (Recommended) Create a Domo service account—Create a new Domo account specifically for this integration. Your account’s custom role must include the Manage Cloud Accounts and Manage DataSet grants.
  • (Conditional) If you are migrating from a federated or connector-based integration, review Migrate from Federated to Cloud Integrations before proceeding—Beast Mode formulas written in MySQL syntax may not be compatible with Spark SQL.
For more information about roles and grants, see Manage User Roles and Grants.

Set Up Read-Only Access

  1. In the navigation menu, select Data Warehouse > Connect Data > Cloud Integrations > Databricks. The Databricks Cloud Integrations list opens.
    The Databricks Cloud Integrations list showing existing integrations and the Add new integration button.
  2. Select + Add new integration. The new integration form opens.
  3. Enter a name and optional description in the Name and Description fields.
    The new integration form with name, description, and the Authentication method list showing Databricks Service Account and U2M OAuth.
  4. From Authentication method, select Databricks Service Account or U2M OAuth.
  5. (Conditional) If you selected Databricks Service Account, under Databricks service account, select an existing account from the dropdown.
  6. (Conditional) To create a new service account, fill in the connection details in the New Databricks Service Account modal:
    • Enter a name for the account.
    • Enter your Databricks server hostname and HTTP path.
    • In the Connect with dropdown, select your authentication method:
      • Personal Access Token—Create a personal access token in your Databricks account and paste it into the Databricks personal access token field.
        New Databricks Service Account modal with Personal Access Token selected.
        Important: Copy the token before leaving the page—Databricks does not display it again.
      • M2M OAuth—Enter your Databricks OAuth application’s Client ID and Client Secret in the Client ID and Client Secret fields. This authentication method is used by the service account and supports writeback and native transforms, since those operations run under the service account regardless of how it authenticates.
        New Databricks Service Account modal with M2M OAuth selected, showing Client ID and Client Secret fields.
    Note: Do not include protocol identifiers in the connection URL. jdbc:databricks:// is assumed; jdbc:spark:// is not supported.
  7. (Conditional) If you selected U2M OAuth, from Select Databricks OAuth Configuration, select an existing configuration, or select Add OAuth Config… to create a new one.
    For the configuration fields, see Configure OAuth. When the configuration is created, New OAuth configuration created appears.
    Databricks integration form with U2M OAuth selected and a new OAuth configuration created.
  8. Select Create integration. On the success screen, select Navigate to integration overview to proceed.
    Screenshot 2024-10-10 at 10.45.07 AM.png
  9. (Conditional) If the integration uses a service account, configure your data freshness settings. Freshness isn’t available for OAuth-only integrations. Learn about advanced scheduling for data freshness.

Add Databricks Tables to Domo

After creating your integration, connect Databricks tables as DataSets in Domo. For step-by-step instructions, see Connect tables in Cloud Integrations.
The Connect Tables interface with the schema browser on the left and the table list on the right.

Configure OAuth

Configure OAuth to require users to sign in with their own Databricks credentials when they view cards or DataSets connected through that integration. OAuth does not currently apply to Magic ETL, writeback, or native transforms. You can use OAuth in two ways:
  • OAuth only — Select U2M OAuth when you set up read-only access. The integration is read-only and has no service account. Magic ETL can’t currently use DataSets from an OAuth-only integration.
  • OAuth with a service account — Add OAuth to an integration that already uses a service account.
Note: This section covers U2M (per-user) OAuth, used for card and DataSet viewing. It doesn’t apply to M2M OAuth, which authenticates the service account itself. If your service account authenticates with M2M OAuth, writeback and native transforms continue to work normally, since those operations always run under the service account.
If you’re creating an integration, the Configure OAuth Settings dialog opens when you select Add OAuth Config… (see Set Up Read-Only Access). Start at step 4. To add OAuth to an existing integration, start at step 1.
  1. From the Databricks Cloud Integrations list, select the wrench icon on the integration you want to configure, then select Settings.
  2. In the Settings panel, under OAuth, select Set up OAuth. The Configure OAuth Settings modal opens.
    Integration Settings panel showing the Set up OAuth and Set up write & transform options.
  3. Select an existing configuration from the dropdown, or select Add OAuth Config… to create a new one.
  4. (Conditional) To create a new configuration:
    1. In Databricks, navigate to Account Console > Settings > App connections and add a new app connection for Domo. Enable a custom OAuth application for your Domo instance. For details, see the Databricks OAuth documentation.
    2. Add the Domo redirect URLs shown in the modal to your Databricks OAuth app.
    3. Back in Domo, enter the OAuth Configuration Name, and in Where is your Databricks hosted?, select your cloud provider. Then enter the Databricks account identifier, Databricks client ID, Databricks client secret, Databricks account server hostname, Databricks account port, and Databricks account HTTP path.
    Configure OAuth Settings modal showing the configuration form fields.
  5. Select Connect, then sign in with your Databricks credentials.

Set Up Write & Native Transform

Enable writeback, native transforms, or both on an existing Databricks integration. You must complete the read-only setup before proceeding. If the integration uses U2M OAuth only, add a service account first, because writeback and native transforms always run under the service account. In the integration’s Settings panel, under Service Account, select Set up service account. Then select or create a Databricks service account that authenticates with a personal access token or M2M OAuth. For the service account fields, see Set Up Read-Only Access.
  1. From the Databricks Cloud Integrations list, select the wrench icon on the integration you want to configure, then select Settings.
  2. In the Settings panel, under Write & native transform, select Set up write & transform. The Configure Write & Native Transform modal opens.
    Integration Settings panel showing the Set up write & transform option.
  3. Under What do you want to be able to do?, select one or both capabilities:
    • Write to Databricks from connectors—enables Domo to write data back to Databricks.
    • Execute Magic ETL transformations natively—enables Magic ETL DataFlows to run transformations directly within your Databricks environment.
  4. Under Default write location, select your target Catalog and Schema from the dropdowns. This is the Databricks location where Domo writes data during writeback operations and native transform executions.
    Configure Write & Native Transform modal with capability checkboxes and write location dropdowns.
  5. Select Save to complete the setup.

Fiscal and Localized Calendars

Your Databricks integration can use a calendar table in your Databricks workspace, so cards follow your fiscal year or show localized month and day names. Contact Domo Support to enable it, then see Configure Fiscal and Localized Calendars for Snowflake and Databricks Integrations.

Troubleshoot

If authentication fails when configuring your integration:
  • Verify that your personal access token or M2M OAuth credentials (Client ID and Client Secret) are correct and have not expired.
  • Confirm that the Databricks service account has read access to your default Databricks environment.
When an integration uses U2M OAuth, Domo asks each user to sign in to Databricks before showing the data. If the External authorization required dialog appears:
  1. For each system listed, select Sign in and complete the Databricks sign-in.
  2. Select Finish.
If you signed in before and the dialog appears again, your Databricks sign-in may have expired. Sign in again to continue.
If the Databricks connection URL is not accepted:
  • Confirm that you are not including a protocol identifier. jdbc:databricks:// is assumed; jdbc:spark:// is not supported.
  • Confirm you are using the correct server hostname and HTTP path from SQL Warehouses > your warehouse name > Connection details in Databricks.
If your catalog or schema does not appear in the dropdowns during write & native transform setup:
  • Confirm that the Databricks service account has the necessary permissions to access the target catalog and schema.
  • Try refreshing the integration settings and repeating the setup steps.
When a DataFlow uses a Databricks-sourced DataSet, Domo queries the data live from Databricks when the DataFlow runs. Domo checks Databricks-sourced DataSets for updates at the configured freshness interval using the lastModified field returned by Databricks’s DESCRIBE DETAIL command. If Domo detects an update, it triggers any DataFlows that use that table.
Note: Change detection via DESCRIBE DETAIL applies to tables only. Databricks views do not support this check, so Domo treats views as updated on every freshness check cycle — meaning any DataFlow using a Databricks view will be triggered every interval regardless of whether the underlying data changed.

Next Steps

Last modified on October 19, 2026