> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/create-a-databricks-workspace-connection-to-an-edge-or-collibra-cloud-site.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Create a Databricks Workspace connection to a Collibra Cloud site

Before you can synchronize Databricks Unity Catalog, you need to prepare your Collibra Cloud site.

Ensure that you have completed all the prerequisites in your Databricks Unity Catalog and Collibra environments. Once you have created a connection, you can then proceed with metadata ingestion.

## Prerequisites

### In your Collibra environment

* You were granted a [Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md).
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Manage connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.

### In your Databricks environment

#### Common prerequisites for OAuth authentication

For OAuth authentication, the integration first requests the `all-apis` scope. If your service principal secret is restricted to specific scopes, the integration uses the scopes that your secret has. This does not apply to Personal Access Token or Microsoft Entra ID authentication.

If your secret is restricted, assign it the scopes for the features you use:

* AI asset integration: `unity-catalog`, `mlflow`, `model-serving`, `genie`, `knowledge-assistants`, `supervisor-agents`, `dataquality`
* Agent Bricks tiles (Information Extraction and Text Classification) and managed evaluations (AI Monitor assets): `all-apis` only. A secret restricted to narrower scopes cannot integrate these assets.
* AI monitoring and operational trust: `all-apis` only. A secret restricted to narrower scopes cannot collect monitoring data.

The integration needs at least the `unity-catalog` scope to synchronize metadata. If it is missing, the sync fails immediately and the error names the scope to add to your secret. Assets that need another scope your secret lacks, such as Genie agents without `genie`, are skipped, and the synchronization report lists the missing scopes.

#### AI ingestion

The integration identity (personal access token, OAuth client, or service principal) needs two kinds of permissions.

* Databricks recommends using OAuth instead of personal access tokens (PAT). If you're using a PAT, create a scoped token and assign the following API scopes:

  * `unity-catalog`
  * `mlflow`
  * `model-serving`
  * `knowledge-assistants`
  * `supervisor-agents`
  * `genie`

  For more information, go to the [Databricks documentation](https://docs.databricks.com/aws/en/dev-tools/auth/pat#scoped-personal-access-tokens).
* Unity Catalog privileges: These are inherited, granting them at the catalog level covers all current and future schemas and objects within it. Grant the following:
  * `BROWSE` on the catalogs in Unity Catalog from which you want to integrate metadata. For more information on the `BROWSE` privilege, go to the [Databricks Unity Catalog documentation](https://docs.databricks.com/aws/en/data-governance/unity-catalog/access-control/privileges-reference#browse). This also covers the catalogs containing:
    * The inference tables that the integration reads to create AI Monitor assets, when an AI Gateway inference table is configured.
    * The metadata for AI input datasets that you want to integrate.
  * `EXECUTE` or `READ METADATA` on registered models (granting this permission at the catalog or schema level covers all models within).
  * `USE CATALOG` on the parent catalog.
  * `USE SCHEMA` on the parent schema.
* Workspace object permissions: Objects are governed by workspace access control lists and permissions aren't inherited. Grant each of the following permissions per object or make the integration identity a workspace admin:

  * `CAN_VIEW` on serving endpoints to list serving endpoints.
  * `CAN_READ` on the MLflow experiments to read runs used for AI Monitor or metric ingestion. This permission is optional for model ingestion. Without it, model versions are ingested but without their run attributes.
  * `CAN_MANAGE` on AI agents you want to integrate. This permission is required to read an agent's configuration. `CAN_QUERY` and `CAN_VIEW` are not sufficient, they allow querying the agent endpoint but not reading its configuration.

  Serving endpoints, experiments, and AI agents use per-object workspace permissions with no inheritance, so the integration can only discover objects that are shared with its identity. To keep the registry complete as new objects are created, add the integration identity to the workspace admins group. Workspace admins automatically receive the required permission on all objects of these types. If your organization does not allow service principals in the admins group, you must grant the per-object permissions listed above through an automated provisioning process instead. Any object that the process misses will be absent from the registry without error.

## Steps

{% stepper %}
{% step %}
Open the Integrations page.

1. On the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Integrations** page opens.
2. Click **Add an integration**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Select Edge site** step opens.
3. In the **Edge site** list, select your Collibra Cloud site and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Create connection** step opens.
   {% endstep %}

{% step %}
In the **Connection** list, select **Databricks Workspace** to connect to Databricks.
{% endstep %}

{% step %}
Enter the required information.

| Field               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Required                                                                                                       |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Name                | The name of the Collibra Cloud site connection for Databricks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | <i class="fa-check">:check:</i> Yes                                                                            |
| Description         | The description of the connection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | <i class="fa-xmark">:xmark:</i> No                                                                             |
| Workspace URL       | <p>Enter the URL of any Databricks workspace connected to Unity Catalog that you want to integrate.<br>To retrieve the URL, log into Databricks and copy the URL. For example: <code><https://123.cloud.databricks.com></code>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | <i class="fa-check">:check:</i> Yes                                                                            |
| Authentication Type | <p>Select the type of authentication that you want to apply. You can select any of the following values:</p><ul><li><strong>Personal Access Token</strong></li><li><strong>OAuth</strong><br>For information on OAuth-based authentication in Databricks Unity Catalog, go to the <a href="https://www.google.com/url?q=https://docs.databricks.com/en/dev-tools/auth/oauth-m2m.html&#x26;sa=D&#x26;source=docs&#x26;ust=1727858350045711&#x26;usg=AOvVaw2ZqDYmZyFLSQBXBAWLWgML">Databricks documentation</a>.</li><li><strong>Microsoft Entra ID</strong><br>For information, go to <a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-sp">Microsoft Entra service principal authentication</a> in the Azure Databricks documentation. The Microsoft Entra ID authentication option supports Azure Public, Azure China, and Azure US Government. Azure Germany is not supported.</li></ul>                                                    | <i class="fa-check">:check:</i> Yes                                                                            |
| Access Token        | <p>The security token that was generated in Databricks for the workspace. The access token must be a personal access token (PAT).<br>It is possible to generate a PAT for service principals. For information on the service principal token, go to the <a href="https://docs.databricks.com/dev-tools/service-principals.html">Databricks documentation</a>.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Ensure that your Databricks access token has been granted the required permissions in your Databricks environment.</p></div>                                                                                                                                                                                                                                                                                                                                                                                          | <i class="fa-check">:check:</i> Yes, if you select `Personal Access Token` as the authentication type.         |
| Client ID           | <p>The client ID for OAuth-based authentication in Databricks, or the client ID of the Microsoft Entra ID service principal.</p><p>For information on OAuth-based authentication in Databricks Unity Catalog, go to the <a href="https://www.google.com/url?q=https://docs.databricks.com/en/dev-tools/auth/oauth-m2m.html&#x26;sa=D&#x26;source=docs&#x26;ust=1727858350045711&#x26;usg=AOvVaw2ZqDYmZyFLSQBXBAWLWgML">Databricks documentation</a>.</p><p>For information on the Microsoft Entra ID service principal, go to <a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-sp">Microsoft Entra service principal authentication</a> in the Azure Databricks documentation.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Ensure that your Databricks OAuth client or Microsoft Entra ID service principal has been granted the required permissions in your Databricks environment.</p></div> | <i class="fa-check">:check:</i> Yes, if you select `OAuth` or `Microsoft Entra ID` as the authentication type. |
| Client Secret       | The client secret generated for the OAuth-based authentication on Databricks, or the client secret of the Microsoft Entra ID service principal.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | <i class="fa-check">:check:</i> Yes, if you select`OAuth` or `Microsoft Entra ID` as the authentication type.  |
| Tenant ID           | <p>The Directory (tenant) ID for the related application registered in Microsoft Entra ID.</p><p>For information, go to <a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/azure-sp">Microsoft Entra service principal authentication</a> in the Azure Databricks documentation.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | <i class="fa-check">:check:</i> Yes, if you select `Microsoft Entra ID` as the authentication type.            |
| Azure Environment   | <p>The Azure cloud that hosts your Microsoft Entra ID tenant. The integration uses this value only if you select <strong>Microsoft Entra ID</strong> as the authentication type.</p><p>Select one of the following:</p><ul><li><strong>PUBLIC</strong>: Global Azure. This is the default option.</li><li><strong>CHINA</strong>: Azure China.</li><li><strong>USGOV</strong>: Azure US Government.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | <i class="fa-xmark">:xmark:</i> No                                                                             |
| {% endstep %}       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                |

{% step %}
Click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The connection is added to the Collibra Cloud site.
{% endstep %}
{% endstepper %}

Collibra validates the credentials when [synchronizing Databricks Unity Catalog](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/synchronize-databricks-unity-catalog-for-ai.md).

## What's next

[Add](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/add-the-databricks-unity-catalog-capability.md) the Databricks Unity Catalog capability to your Collibra Cloud site.
