---
title: Share a Genie Agent using OpenSharing
description: Share a Genie Agent with external recipients using OpenSharing. Creates a point-in-time snapshot of all data assets and instructions.
canonical_url: https://docs.databricks.com/gcp/en/opensharing/share-genie-agent
---

# Share a Genie Agent using OpenSharing

> [!NOTE]
> **Beta**
>
> Genie Agent sharing using OpenSharing is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md).

Use OpenSharing to share a Genie Agent with users outside your organization. When you share a Genie Agent, Databricks creates a point-in-time snapshot of the agent's data assets and instructions and makes it available to your selected recipients. Recipients can mount the share to create a local Genie Agent pre-loaded with your data and instructions. See [Mount a shared Genie Agent](https://docs.databricks.com/gcp/en/opensharing/mount-genie-agent.md).

## Requirements

To share a Genie Agent, you must have the following:

* The **Genie Agent Sharing** preview enabled at the account level. See [Manage Databricks previews](https://docs.databricks.com/gcp/en/admin/workspace-settings/manage-previews.md).
* [Set up OpenSharing](https://docs.databricks.com/gcp/en/opensharing/set-up.md) for your account.
* `CREATE SHARE` privilege on the Unity Catalog metastore where the Genie Agent's data is registered.
* `CAN EDIT` or higher on the Genie Agent. See [Access control lists](https://docs.databricks.com/gcp/en/security/auth/access-control/index.md).
* `SELECT` on all data assets in the agent. You must retain this privilege. If you lose it, recipients cannot access the shared data.
* At least one recipient. See [Create data recipients for OpenSharing (Databricks-to-Databricks sharing)](https://docs.databricks.com/gcp/en/opensharing/create-recipient.md).

## Share a Genie Agent

1. In your Databricks workspace, go to the Genie Agent you want to share.

2. In the upper-right corner, click **Share**, then click the **External** tab.

3. In the **Select recipients to share with** field, search for and select the recipients with whom you want to share the agent.

   If no recipients exist yet, click **Create new recipient**. See [Create data recipients for OpenSharing (Databricks-to-Databricks sharing)](https://docs.databricks.com/gcp/en/opensharing/create-recipient.md).

4. Click **Share**.

Databricks exports a snapshot of the Genie Agent, creates a share containing all of the agent's tables, instructions, curated SQL examples, SQL functions, and other configuration, and grants the selected recipients access. The snapshot is captured at the time you click **Share**.

## Add more recipients

After the initial share is created, you can share the same snapshot with additional recipients:

1. Go to the Genie Agent and in the upper-right corner, click **Share**, then click the **External** tab.
2. Search for and select the additional recipients with whom you want to share the agent, then click **Add recipients**.

You cannot modify the data assets in the share after you create it.

## View and manage the share

The share appears in the **Shared by me** list. The share's asset list is read-only. You can manage recipients and delete the share, but you cannot add or remove data assets manually. See [Manage shares for OpenSharing](https://docs.databricks.com/gcp/en/opensharing/manage-share.md).

## Limitations

* **Snapshot only:** The share captures the Genie Agent at the time you click **Share** and does not update when you change the agent. All recipients see the same snapshot.
* **Size limit:** The Genie Agent configuration must be less than 256 KB when compressed. Agents that exceed this limit return an error when you attempt to share them. To reduce the size, shorten instructions or descriptions, then try again.
* **Metric views:** Genie Agents that include metric views cannot be shared.

## <a id="additional-resources" /> Additional resources

* [Mount a shared Genie Agent](https://docs.databricks.com/gcp/en/opensharing/mount-genie-agent.md)
* [Manage shares](https://docs.databricks.com/gcp/en/opensharing/manage-share.md)
* [Grant and manage share access](https://docs.databricks.com/gcp/en/opensharing/grant-access.md)
