> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Share an agent

> Give people, teams, or everyone in your organization Can use, Can edit, or Can manage on an agent.

Share an agent when other people should use it, or help you build it. Everyone you add gets a role. Sharing doesn't change who owns the agent.

![The three sharing roles as layers of an onion. Can use, in the middle, chats with the agent in their own chat, sees its files, reads its instructions, triggers and tools, and opens its app. Can edit wraps around it and also changes how the agent works, turns it on or off, and sees runs and everyone's chats. Can manage is the outer layer and also changes who has access, deletes the agent and moves it.](https://mintcdn.com/dataleap-469bb19d/BcHMOZEjGVsDj1Gc/images/sharing-roles-light.svg?fit=max\&auto=format\&n=BcHMOZEjGVsDj1Gc\&q=85\&s=0d8c686a7da98e4dc229e63dc75393db)

Each role includes everything in the layers inside it.

## Roles

| Role | What the Share dialog says | What it allows |
| - | - | - |
| **Can use** | Run it and ask it questions in their own chats | Chat with the agent in their own chat. See its files, and read its instructions, triggers, and tools. Open its [app](https://docs.dataleap.ai/scale/apps.md). |
| **Can edit** | Also change how it works and see everyone's chats | Everything in **Can use**, plus the setup chat: change the instructions, triggers, tools, and model, and turn the agent on or off. See **Runs** and everyone's chats. |
| **Can manage** | Also share it, delete it and move it to another team | Everything in **Can edit**, plus change who has access, delete the agent, [move it](https://docs.dataleap.ai/share/team-spaces.md#move-an-agent-into-a-team), and publish it as a [template](https://docs.dataleap.ai/share/templates.md). |
| **No access** | Team members see it but can't open it. They can ask for access | Only for the team that owns an agent. See [Keep a team agent to a few people](#keep-a-team-agent-to-a-few-people). |

## Who can get which role

What you can hand out depends on whether the agent is yours or a team's.

| Who | On a team agent | On a personal agent |
| - | - | - |
| A person | **Can use**, **Can edit**, or **Can manage** | **Can use** or **Can edit** |
| A team | **Can use**, **Can edit**, or **Can manage** | **Can use** |
| Everyone in your organization | **Can use** | **Can use** |
| The team that owns it | **Can edit** (the default), **Can use**, or **No access** | — |

You're the only person who can manage a personal agent. On a team agent, whoever created it gets **Can manage**, and the team's admins always have **Can manage**. See [Team spaces](https://docs.dataleap.ai/share/team-spaces.md#who-can-do-what-in-a-team).

## Share an agent with people or teams

You need **Can manage** to change who has access. With **Can edit**, you can see the list but not change it.

**1. Open Share**

On the agent, click **Share**. The **Share** tab lists everyone who has access. **Always have access** shows the people you can't remove, such as the owner and the team's admins.

**2. Add people, teams, or everyone**

Search in **Add people, teams or everyone**. You can pick people and teams from your organization, or **Everyone in** followed by your organization's name.

**3. Choose the role and add**

Pick the role in the menu next to the search field. It starts on **Can use**. Click **Add**.

**4. Send the link (optional)**

**Copy link** copies a link to the agent. The link doesn't grant access by itself, so add the person first.

To change someone's role or remove them, use the menu next to their name in the same list.

## What people with Can use get

People find agents shared with them under **Agents**, on the **Shared with you** tab.

* **Their own chat.** Each person has one chat with the agent, and it continues where they left off. Only they and people with **Can edit** or **Can manage** see it.
* **A view of the setup.** They can read the instructions, triggers, and tools, and see the agent's files. They can't change anything.
* **The app.** If the agent has an [app](https://docs.dataleap.ai/scale/apps.md), they can open it.

If you turn the agent off, they can't send new messages. If you remove their access, they can still read their earlier messages, but they can't use the agent anymore.

> [!WARNING]
>
> **People you share an agent with work through its integrations.** The agent uses the accounts it's connected with, not theirs. Before you share it, make sure everyone you add should be able to ask for what those accounts can see and do. If people should use their own accounts, share a [template](https://docs.dataleap.ai/share/templates.md) instead.

## Edit someone else's agent

With **Can edit** on an agent you don't own, and outside the team that owns it, you work with the tools the agent already has. You can turn tools off, but you can't add integrations or new tools. Ask the owner or a team member to add them.

## Accounts other people added

When an agent uses someone's [Personal account](https://docs.dataleap.ai/share/team-spaces.md#accounts-in-a-team), that person always keeps at least **Can use** on the agent. If you remove their access, the agent can't keep their account, so its tools are turned off. The account owner can approve it again later.

## Keep a team agent to a few people

By default, everyone in the team that owns an agent has **Can edit**. To limit that, open **Share** and change the owning team's role to **Can use** or **No access**. Then add the people who should have more.

With **No access**, team members still see the agent in the team, but they can't open it. They can click **Request access to** the agent and say why. Everyone who can manage the agent gets an email and can approve it. You also see waiting requests under **Access requests** in the **Share** dialog. A request closes after 14 days if nobody decides.

## Agents you can't share

Agents deployed from a [locked template](https://docs.dataleap.ai/share/locked-templates.md) can't be shared. The template's owner decides who has access.

> [card] [Team spaces & team agents](https://docs.dataleap.ai/share/team-spaces.md)
>
> When a whole team should own and run the agent.

> [card] [When to share what](https://docs.dataleap.ai/share/when-to-share-what.md)
>
> The decision guide across all sharing options.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.