# Allowed domains

> The exact origins where your editor may load.

The editor only loads inside pages on your allowed domains. Muzekit checks the embedding page when a session starts, and the editor's content security policy enforces the same list in the browser.

## Rules

- Use the **origin**: scheme and host, no path. `https://app.acme.com`, not `https://app.acme.com/editor`.
- No wildcards. List each domain.
- Test and Live each have their own list ([environments](/docs/environments)).
- **Live** domains must use `https` and can never be `localhost`. A Live key on localhost is refused: use your Test key there.
- **Test** sessions always allow `http://localhost`, `127.0.0.1` and `*.localhost` on any port, and take up to 20 staging or preview domains.
- Your plan sets how many Live domains the editor can be embedded on (`limits.origins` in [Get the workspace](/docs/api-reference/workspace-get); see [Pricing](/pricing)).

Manage them in the dashboard under **Allowed domains**.

<Screenshot src="/docs/1-allowed-domains.webp" original="/docs/raw/1-allowed-domains.png" alt="Allowed domains for Test: localhost and 127.0.0.1 on any port always allowed, and a field to add a staging domain" />
