# Embed on Wix

Use **Embed a Site** with your public intake URL. This avoids placing the JavaScript loader inside Wix's separate HTML-code frame.

## Prepare the intake URL

Publish the flow and save your Wix website's exact published domain in **Website & branding → Allowed website domains**. Replace the placeholder below with your public `pk_ec_` key:

```text
https://embed.estatecanvas.ca/embed/YOUR_PUBLIC_EMBED_KEY
```

The key identifies the intake. Clients still verify their email before answering; the URL grants no access to saved answers.

## Add it in Wix

1. Open the page in Wix Editor.
2. Choose **Add Elements → Embed Code → Embed a Site**.
3. Enter the intake URL and apply it.
4. Give the embed a useful width and height in the desktop and mobile layouts.
5. Publish, then test the public page with fictional answers.

See [Wix's embedding guide](https://support.wix.com/en/article/wix-editor-embedding-a-site-or-a-widget) for the controls available in your editor.

## Frame height and sign-in

Wix controls the outer frame's size. The EstateCanvas loader's automatic height adjustment does not manage a Wix Embed a Site element, so allow enough height and check that clients can reach the form's buttons.

Test the **Verify email & get started** window on the published page. Builder previews and nested frames can have different origins or popup restrictions. EstateCanvas checks the frame's ancestor origins; if the browser blocks it, inspect the exact parent origins with your site administrator. Keep the allowlist limited to domains you control.

## Hosted-link alternative

If Wix's frame restrictions prevent the experience from working, add a button linking to **Open hosted intake** from your workspace. The same questionnaire and theme open in a separate tab.
