> 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/synchronize-databricks-unity-catalog-for-ai.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Synchronize Databricks Unity Catalog for AI

After your Collibra Cloud site is ready to integrate Databricks Unity Catalog, you can start the synchronization process.

Synchronizing Databricks Unity Catalog is the process of integrating AI metadata from Databricks Unity Catalog and making it available in Collibra.

You can either synchronize manually or automate the process by adding a synchronization schedule.

## Prerequisites

In your Collibra environment:

* You have [added the Databricks Unity Catalog capability](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) for the connection.
* For AI model synchronization, you know in which domain you want to add the Databricks AI Model assets.
* You have a [resource role](https://docs.collibra.com/ai-command-center/terminology.md) with the **Configure external system** [resource permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Owner**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) with the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) with the **View Edge connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.

## Steps

{% tabs %}
{% tab title="Manually synchronize Databricks Unity Catalog" %}
{% stepper %}
{% step %}
Open the **Create integration** step.

* If you just [created the Databricks Workspace connection](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), you are already in this step.
* Otherwise, on the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**, and then click the **More options** icon on the card of your Databricks Workspace connection and select **Add an integration**.
  {% endstep %}

{% step %}
In the **Integration** list, select **Databricks Unity Catalog synchronization**, enter a **Name**, and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Connect to source** step opens.
{% endstep %}

{% step %}
Click **Skip**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The configuration page opens.
{% endstep %}

{% step %}
Select the **AI ingestion** tab to integrate only AI model metadata from Databricks Unity Catalog.
{% endstep %}

{% step %}
Complete the fields as needed.

<table><thead><tr><th width="152">Field</th><th>Action</th><th>Required</th></tr></thead><tbody><tr><td>Domain</td><td><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Ensure that you select a domain of the type Technology Asset Domain.</p></div><p>Select the domain asset in which you want to add the Databricks AI assets.</p><p>Note that if you change the domain asset after synchronizing, the Databricks AI assets are not moved. On the next synchronization, they are removed from the previous domain and created again in the selected domain. Any comments, responsibilities, and monitoring history on them are not carried over.</p></td><td><i class="fa-check">:check:</i> Yes</td></tr><tr><td>Custom AI Metrics Mappings</td><td><p>Optionally, in <strong>Custom AI Metrics Mappings</strong>, define the custom Databricks AI Model metrics that you want to integrate. You can do this by adding the mapping between the custom metric and Collibra attribute.</p><p><strong>Available custom metrics</strong></p><ul><li>accuracy_score,</li><li>exact_match</li><li>example_count</li><li>f1_score</li><li>f1_score_micro</li><li>f1_score_macro</li><li>false_negatives</li><li>false_positives</li><li>log_loss</li><li>max_error</li><li>mean_absolute_error</li><li>mean_absolute_percentage_error</li><li>mean_on_target</li><li>mean_squared_error</li><li>precision</li><li>precision_recall_auc</li><li>r2_score</li><li>recall</li><li>roc_auc</li><li>root_mean_squared_error</li><li>sum_on_target</li><li>token_count</li><li>true_negatives</li><li>true_positives</li></ul><p>For an overview of the out-of-the-box metrics we integrate by default, go to <a href="https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/integrated-databricks-ai-data.md">Integrated Databricks Unity Catalog data</a>.</p><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>If you use this feature, add any custom attributes/characteristics, as needed, to the asset type assignment.</p></div><p>To add a custom AI metric mapping:</p><ol><li>Click <strong>Add Custom AI Metrics Mappings</strong>.</li><li>In <strong>Metric</strong>, select the custom metric from the list of available Databricks AI metrics.</li><li>In <strong>Attribute</strong>, select the attribute in which you want to see the value.<br>Make sure to select an attribute that is included in the Databricks AI Model asset type assignment.</li></ol></td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Exclude system AI models</td><td><p>Optionally, in <strong>Exclude system AI models</strong>, indicate that you don't want to integrate the pretrained Databricks AI models.</p><ul><li>By default, <strong>No</strong> is selected, and all accessible AI models are integrated.</li><li>If you select <strong>Yes</strong>, the AI models in the "system" Databricks catalog will be excluded from the integration.</li></ul><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>When you integrate a data source without applying Include or Exclude Mappings rules, and then later exclude a registered asset using an Include or Exclude Mapping during resynchronization, the related assets receive the <strong>Missing from Source</strong> status.</p></div><p>For more information about these pretrained Databricks AI models, go to the <a href="https://docs.databricks.com/en/generative-ai/pretrained-models.html">Databricks documentation</a>.</p></td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Ingest input datasets and deployment output for AI models and deployments</td><td>Optionally, select the <strong>Ingest input datasets and deployment output for AI models and deployments</strong> checkbox to ingest datasets, such as Catalog Database, schema, table, column, file assets, or storage container, and create them as assets with relations to the AI Model Deployment asset.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Systems</td><td>In <strong>Systems</strong>, select the System asset in which you want to link the Databricks AI assets. You can update the System asset in the Databricks AI integration synchronization, if needed. However, if you change the System asset, don't reuse a previously used System asset for the integration. For example: <code>sys1</code> > <code>sys2</code> > ... > <code>sysN</code> > <code>sys1</code>.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr></tbody></table>
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}

{% step %}
Click the synchronize button in the toolbar.\ <i class="fa-chevrons-right">:chevrons-right:</i> A notification indicates the synchronization has started.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Add a synchronization schedule" %}
{% stepper %}
{% step %}
Open the **Create integration** step.

* If you just [created the Databricks Workspace connection](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), you are already in this step.
* Otherwise, on the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**, and then click the **More options** icon on the card of your Databricks Workspace connection and select **Add an integration**.
  {% endstep %}

{% step %}
In the **Integration** list, select **Databricks Unity Catalog synchronization**, enter a **Name**, and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Connect to source** step opens.
{% endstep %}

{% step %}
Click **Skip**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The configuration page opens.
{% endstep %}

{% step %}
Select the **AI ingestion** tab to integrate only AI model metadata from Databricks Unity Catalog.
{% endstep %}

{% step %}
Complete the fields as needed.

<table><thead><tr><th width="152">Field</th><th>Action</th><th>Required</th></tr></thead><tbody><tr><td>Domain</td><td><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Ensure that you select a domain of the type Technology Asset Domain.</p></div><p>Select the domain asset in which you want to add the Databricks AI assets.</p><p>Note that if you change the domain asset after synchronizing, the Databricks AI assets are not moved. On the next synchronization, they are removed from the previous domain and created again in the selected domain. Any comments, responsibilities, and monitoring history on them are not carried over.</p></td><td><i class="fa-check">:check:</i> Yes</td></tr><tr><td>Custom AI Metrics Mappings</td><td><p>Optionally, in <strong>Custom AI Metrics Mappings</strong>, define the custom Databricks AI Model metrics that you want to integrate. You can do this by adding the mapping between the custom metric and Collibra attribute.</p><p><strong>Available custom metrics</strong></p><ul><li>accuracy_score,</li><li>exact_match</li><li>example_count</li><li>f1_score</li><li>f1_score_micro</li><li>f1_score_macro</li><li>false_negatives</li><li>false_positives</li><li>log_loss</li><li>max_error</li><li>mean_absolute_error</li><li>mean_absolute_percentage_error</li><li>mean_on_target</li><li>mean_squared_error</li><li>precision</li><li>precision_recall_auc</li><li>r2_score</li><li>recall</li><li>roc_auc</li><li>root_mean_squared_error</li><li>sum_on_target</li><li>token_count</li><li>true_negatives</li><li>true_positives</li></ul><p>For an overview of the out-of-the-box metrics we integrate by default, go to <a href="https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/integrated-databricks-ai-data.md">Integrated Databricks Unity Catalog data</a>.</p><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>If you use this feature, add any custom attributes/characteristics, as needed, to the asset type assignment.</p></div><p>To add a custom AI metric mapping:</p><ol><li>Click <strong>Add Custom AI Metrics Mappings</strong>.</li><li>In <strong>Metric</strong>, select the custom metric from the list of available Databricks AI metrics.</li><li>In <strong>Attribute</strong>, select the attribute in which you want to see the value.<br>Make sure to select an attribute that is included in the Databricks AI Model asset type assignment.</li></ol></td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Exclude system AI models</td><td><p>Optionally, in <strong>Exclude system AI models</strong>, indicate that you don't want to integrate the pretrained Databricks AI models.</p><ul><li>By default, <strong>No</strong> is selected, and all accessible AI models are integrated.</li><li>If you select <strong>Yes</strong>, the AI models in the "system" Databricks catalog will be excluded from the integration.</li></ul><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>When you integrate a data source without applying Include or Exclude Mappings rules, and then later exclude a registered asset using an Include or Exclude Mapping during resynchronization, the related assets receive the <strong>Missing from Source</strong> status.</p></div><p>For more information about these pretrained Databricks AI models, go to the <a href="https://docs.databricks.com/en/generative-ai/pretrained-models.html">Databricks documentation</a>.</p></td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Ingest input datasets and deployment output for AI models and deployments</td><td>Optionally, select the <strong>Ingest input datasets and deployment output for AI models and deployments</strong> checkbox to ingest datasets, such as Catalog Database, schema, table, column, file assets, or storage container, and create them as assets with relations to the AI Model Deployment asset.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Systems</td><td>In <strong>Systems</strong>, select the System asset in which you want to link the Databricks AI assets. You can update the System asset in the Databricks AI integration synchronization, if needed. However, if you change the System asset, don't reuse a previously used System asset for the integration. For example: <code>sys1</code> > <code>sys2</code> > ... > <code>sysN</code> > <code>sys1</code>.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr></tbody></table>
{% endstep %}

{% step %}
Click **Save**.
{% endstep %}

{% step %}
Click **Scheduling** to expand it.
{% endstep %}

{% step %}
Enter the information.

<table><thead><tr><th width="152">Field</th><th>Description</th></tr></thead><tbody><tr><td>Repeat</td><td>The interval when you want to synchronize automatically. The possible values are: <strong>Daily</strong>, <strong>Weekly</strong>, <strong>Monthly</strong>, and <strong>Cron expression</strong>.</td></tr><tr><td>Cron</td><td><p>The Quartz Cron expression that determines when the synchronization takes place.</p><p>This field is only visible if you select <code>Cron expression</code> in the <strong>Repeat</strong> field.</p></td></tr><tr><td>Every</td><td><p>The day on which you want to synchronize, for example, Sunday.</p><p>This field is only visible if you select <code>Weekly</code> in the <strong>Repeat</strong> field.</p></td></tr><tr><td>Every first</td><td><p>The day of the month on which you want to synchronize, for example, Tuesday.</p><p>This field is only visible if you select <code>Monthly</code> in the <strong>Repeat</strong> field.</p></td></tr><tr><td>At</td><td><p>The time at which you want to synchronize automatically, for example, 14:00.</p><ul><li>You can only schedule on the hour. For example, you can add a synchronization schedule at 8:00, but not at 8:45.</li><li>This field is only visible if you select <code>Daily</code>, <code>Weekly</code>, or <code>Monthly</code> in the <strong>Repeat</strong> field.</li></ul></td></tr><tr><td>Time zone</td><td>The time zone for the schedule.</td></tr></tbody></table>
{% endstep %}

{% step %}
Click **Save**
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

## What's next

After the synchronization:

* You can [view a summary of the results](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/view-the-summary-of-a-databricks-unity-catalog-for-ai-synchronization.md) from the Activities list.
* For information on the integrated data, go to [Integrated Databricks Unity Catalog data](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-databricks-ai-integration/integrated-databricks-ai-data.md).
