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

# Can I make a template public so other teams can use it?

Yes. By default, templates are scoped to the team that built them, but you can publish a template to make it usable by any other E2B team.

## Publishing a template

You can publish a template in two ways:

### From the dashboard

Open the [Templates tab](https://e2b.dev/dashboard?tab=templates), find the template, and toggle it to public.

### From the CLI

Use the [E2B CLI](/docs/cli) to publish a template you've already built:

```bash theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
e2b template publish <template-name>
```

## Using a public template

Once published, other teams can create a sandbox from your template by referencing it with the full namespaced format `team-slug/template-name`:

```bash theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
e2b sandbox spawn your-team-slug/<template-name>
```

The same naming format works in the SDKs. Pass `team-slug/template-name` as the template alias to `Sandbox.create()`.

## Unpublishing

To revoke public access, either toggle the template back to private in the [dashboard Templates tab](https://e2b.dev/dashboard?tab=templates), or run:

```bash theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
e2b template unpublish <template-name>
```

The template stays in your team and remains usable by your team. It is just no longer reachable by others.

For more on naming and how the team-slug prefix works, see [Template names](/docs/template/names).
