EEstateCanvasGuides & documentation
START HERE

Domains & public keys

View Markdown ↗

Choose exactly where your form can appear, and keep the same public key in your website snippet.

What the public key does

Each intake flow has a stable key such as pk_ec_ followed by 32 hexadecimal characters. It selects your firm's branding and questionnaire. It is meant to be visible in your website HTML. It does not sign a client in, grant staff access, or allow anyone to read submitted answers.

The shared Clerk application handles identity separately. The website owner only needs the EstateCanvas public embed key and loader script; they do not need a Clerk application or any server secrets.

Configure allowed domains

Open Firm workspace → Website & branding → Allowed website domains. Enter one domain or full HTTPS origin per line, then Save settings. For example:

yourfirm.ca
www.yourfirm.ca
https://staging.yourfirm.ca

yourfirm.ca and www.yourfirm.ca are different hosts. Add both when both serve the form. A domain allows pages on that exact origin, including /wills/ and /contact/; do not enter a page path. Wildcards, credentials, query strings, and non-HTTPS public websites are rejected. Up to 30 origins are supported.

Local development can use an exact HTTP localhost origin with its port, such as http://localhost:4321 or http://127.0.0.1:8767. Remove unused staging and local origins when your testing is finished.

When changes take effect

New iframe loads use the saved allowlist immediately, without a deployment. Reload the containing page after a change. Removing a domain stops new loads there; it does not remotely close an iframe already open in a client's browser. Authentication remains required for client data access.

The embed response uses a browser frame-ancestors policy for the saved origins. The widget also checks the parent origin before opening a client session. Copying a public key to a different website does not add that website to the allowlist.

Where everything lives

Address Purpose
estatecanvas.ca Public marketing website
platform.estatecanvas.ca Firm workspace and secure sign-in window
embed.estatecanvas.ca Client questionnaire and embed loader
docs.estatecanvas.ca Guides, Markdown, and documentation MCP

Configuring an allowed domain does not create a custom EstateCanvas hostname such as estates.yourfirm.ca. Custom hostnames require separate provisioning and are not a self-service feature of this pilot.

The workspace also provides a hosted intake link. It opens the questionnaire directly in a new tab without an iframe. The domain allowlist controls embedding, not access to a published hosted link. Clients still verify their email.

EstateCanvasIntake starts here. Your firm takes it from there.