# Embed on WordPress

Add your firm's intake to a page using an HTML block.

## Before you start

Follow the [quickstart](/quickstart/) to save your domains, publish the flow, and copy the snippet containing your public embed key. Use your site's published domain, not the WordPress admin address.

## Add the widget

1. Edit the page where clients should begin their intake.
2. Add a **Custom HTML** block in the block editor, or your page builder's HTML widget.
3. Paste the complete snippet copied from EstateCanvas.
4. Save or publish the page, then open its public URL in a new tab.

```html
<div data-estatecanvas data-public-key="YOUR_PUBLIC_EMBED_KEY"></div>
<script async src="https://embed.estatecanvas.ca/embed.js"></script>
```

The editor preview may use a different origin or strip scripts. Test the real page before changing your allowlist.

## If WordPress removes the script

Your role, hosting plan, or a security plugin may restrict script tags. Ask your site administrator to add the loader through the site's approved script or theme workflow. Keep the `<div>` in the page and load `https://embed.estatecanvas.ca/embed.js` once on that page, after the container exists or with `async` in the initial HTML.

Avoid loading duplicate copies through both a page block and a global plugin. If a performance plugin delays JavaScript, exclude the EstateCanvas loader from that delay and test again.

## Check the client experience

Test email verification, save and reload, narrow screen layout, review, and submission with fictional answers. Confirm the result in your firm's **Client intake** inbox. If your site has a security policy, see [troubleshooting](/troubleshooting/) for the required script and frame hosts.

If your site cannot run the embed, use the hosted intake link from EstateCanvas as a normal button or link.
