> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.templated.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add a Domain to the Embedded Editor

The Embedded Editor only opens on the domains you allow. When the page that shows the editor is not on that list, you see this message instead of the editor:

"Access Denied. The embed version of the Templated Editor is not authorized for this domain."

## Add your domain

1. Open the Embedded Editor page in the dashboard: https://app.templated.io/embed
2. Open **Domain Settings**.
3. Type the domain in the field under **Allowed Domains** and click **+ Add**.
4. Click **Save Settings** at the bottom of the page and wait for the "Embed configuration saved successfully" message.
5. Reload the page where the editor appears.

**Clicking + Add is not enough.** It only puts the domain in the list on your screen. We store it when you click **Save Settings**. If you skip that step, the list looks right but the editor keeps showing Access Denied.

## Make sure the domain matches the page exactly

We compare the saved domain with the domain of the page that contains the editor, letter by letter. A small difference is enough to block the page:

- `mystore.example.com` does not allow `mystorepc.example.com`. They are different domains.
- Copy the domain from the browser address bar of the page where the editor appears instead of typing it.
- Use the domain of that page, not the domain of your API, backend or CDN.

Rules:

- Type only the domain, for example `myapp.com`. It works with or without `https://`. Don't add a path like `/editor`.
- A domain also covers its subdomains: `myapp.com` allows `www.myapp.com` and `shop.myapp.com`. A subdomain does not cover other subdomains: `shop.myapp.com` does not allow `store.myapp.com`.
- You can allow several domains, for example your live site and your test or staging site. Add each one, then save once at the end.
- To test on `localhost` or a local HTML file, turn on **Allow Development Environment** instead of adding a domain.

## Still seeing Access Denied

- Reload the page with the editor after saving. The editor reads the allowed domains when it opens.
- Check that the embed ID in your code (`?embed=...`) is the one shown on your Embedded Editor page.
- Your site shouldn't send a `Referrer-Policy: no-referrer` header. Without it, we can't tell which domain the editor is running on.
- If none of this helps, write to us in the chat with the embed ID and the full address of the page where the editor appears.

A different message, "Embed access required", is about your plan and not about the domain. Production use of the Embedded Editor needs the Scale or Enterprise plan. See [Embedded Editor Troubleshooting](https://help.templated.io/en/article/embedded-editor-troubleshooting-1wdhhyr/).