Skip to main content

How to Set up Databricks

Updated over a week ago

Use this connector to have Foundational extract information from Unity catalog, widget configurations of notebooks and usage metrics.

This setup should take 5 minutes.

Step #1: Generate a Personal Access Token

  1. Make sure that the user you are creating the personal access token for, has access to the relevant workspaces. You can do this by following this Databricks guide.

  2. Note: Pleae make sure to not set a lifetime limit on the token, as if the token expires - Foundational will not be able to ingest the information from Databricks.
    ​

  3. Save the generated token. We will use it later when we configure the Databricks connector in Foundational.

Step #2: Grant 'BROWSE' Privilege

  1. Follow this Databricks Guide to grant the 'BROWSE' privilege to the user for whom you created the personal access token.

Step #3: Grant Permissions to Query History (and other tables)

  1. Grant the user, for whom you created the personal access token, permissions for the query history tables:
    ​

    GRANT SELECT ON SYSTEM.QUERY.HISTORY TO `<user-name>`; GRANT USE SCHEMA ON SCHEMA system.query TO `<user-name>`;

Step #4: Configure Databricks in Foundational

  1. Open the Connectors page in Foundational and select the Databricks connector

  2. Click on "Add new Databricks project"

  3. Fill in the following information:

    1. Workspace URL: The URL for your workspace. You can get it by:

      1. Opening your databricks workspace

      2. Copying the top level URL from the browser's address bar

    2. Personal Access Token: The personal access token you created

    3. Warehouse ID: the id of the warehouse that Foundational should use for running its ingestion

  4. Click on "Save"
    ​

Did this answer your question?