# EstateCanvas documentation Source: https://docs.estatecanvas.ca --- Source: https://docs.estatecanvas.ca/quickstart/ # Your first website intake Connect your website to your firm's workspace in a few steps. ## 1. Open your firm workspace Sign in at [platform.estatecanvas.ca](https://platform.estatecanvas.ca/firm) using your invited email. Choose the correct firm, then open **Website & branding**. Pilot workspaces are provisioned by the EstateCanvas team. Clients authenticate separately and do not join your firm's staff organization. ## 2. Configure your website Set your firm name, welcome message, brand colour, and notification email. Under **Allowed website domains**, add each website where the questionnaire will appear, one per line: ```text yourfirm.ca www.yourfirm.ca ``` HTTPS is added automatically. Add a staging domain separately when testing. These are your existing website addresses; adding one does not move your website or change its DNS. See [domains and public keys](/domains/). ## 3. Save and copy your snippet Save settings to create a permanent public embed key beginning with `pk_ec_`. When your team is ready to accept clients, enable **Publish this intake flow** and save. Confirm the notification channel is ready before launch; submitted intake is also available in the firm's inbox. Copy the snippet displayed in the workspace. It contains your real public key: ```html
``` `YOUR_PUBLIC_EMBED_KEY` is a placeholder. Copy your key from the workspace. Never substitute a Clerk secret, Resend key, OpenAI key, or a client session token. ## 4. Install and test Choose the guide for [WordPress](/wordpress/), [Hugo](/hugo/), or [plain HTML](/html/). Open the published page on an allowed domain, verify your email, save fictional answers, and submit. Check the correct firm inbox and notification status. Try the page on a phone too. The [shared embed test](https://platform.estatecanvas.ca/embed-test.html) demonstrates the experience. Use fictional details there; it is separate from your firm's intake and does not verify your own installation. ## What the pilot includes The first configured flow is an Ontario wills intake adapted from Barbarian Law's questionnaire. Clients can verify their email, save progress, review their answers, and submit instructions for a lawyer's review. The questionnaire is not a will or power of attorney. No payment or PDF generation is included in this pilot. Next: [Review incoming client information](/using-the-workspace/). --- Source: https://docs.estatecanvas.ca/domains/ # Domains and public keys 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: ```text 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. ## Hosted links 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. --- Source: https://docs.estatecanvas.ca/wordpress/ # 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
``` 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 `
` 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. --- Source: https://docs.estatecanvas.ca/hugo/ # Embed on Hugo Use a small shortcode to place your questionnaire in any Hugo page. ## Create the shortcode Save this as `layouts/shortcodes/estatecanvas.html` in your site's source: ```html
``` ## Add it to a page Use your actual public embed key from **Website & branding**: ```text {{< estatecanvas key="YOUR_PUBLIC_EMBED_KEY" >}} ``` This shortcode approach keeps the embed in a template, so you do not need to enable unsafe raw HTML globally in Markdown rendering. Add the shortcode once per intake page. ## Preview and publish Add the exact development origin from your Hugo preview to [Allowed website domains](/domains/), for example `http://localhost:1313`. `localhost` and `127.0.0.1` are different hosts. Add your production HTTPS domain as well, save the settings, then publish the Hugo site normally. Test the deployed page using fictional information. Remove the development origin afterward if you no longer need it. The browser downloads the widget at runtime; there are no secret keys or backend dependencies in your Hugo build. --- Source: https://docs.estatecanvas.ca/html/ # Embed on an HTML website Two elements are enough to mount the questionnaire on an existing website. ## Paste the snippet Place the container where the form should appear and include the loader script: ```html
``` Use the real public key from your firm workspace, publish the flow, and save your [allowed website domains](/domains/). Do not host the test by opening a `file://` document; use an HTTP localhost server or your HTTPS website. ## Layout and loading The iframe uses the full width of its container and adjusts its height as clients move through the questionnaire. Give the container a useful width and avoid a fixed-height wrapper with `overflow: hidden`. The loader mounts containers present when it runs. For a single-page app that adds the container after initial page load, load the script after that container is mounted. Automatic observation of dynamically inserted containers is not part of this loader. Keep the loader hosted on EstateCanvas so fixes reach your installation. The parent page receives only ready and size messages from the widget, not questionnaire answers or authentication tokens. ## Authentication Clients select **Verify email & get started**. A secure window on `platform.estatecanvas.ca` handles Clerk authentication, then returns the client to the iframe. Allow popups triggered by this button. The form uses a scoped session so it can operate without relying on third-party iframe cookies. Use the hosted intake link as a fallback for environments that block popups or embedded content. --- Source: https://docs.estatecanvas.ca/using-the-workspace/ # Receive and review client intake Keep submitted instructions together in your firm's workspace. ## The client's path Clients verify their email before answering. They move through the configured sections, use **Save progress**, review their answers, provide consent, and submit. Saved answers can be resumed after signing in with the same email; the browser's active session is temporary. Submitted answers are locked against further client edits. Ask clients to contact the firm for corrections. The pilot maintains one intake per verified client per flow; repeat matters for the same client are not yet a self-service workflow. ## Your firm's inbox Open [Firm workspace](https://platform.estatecanvas.ca/firm), choose the correct firm, and select **Client intake**. Select a submitted intake to review its labelled answers and client email. Drafts are not listed in this inbox. Staff access is checked against that firm's membership or reserved owner identity. Reload the page to see newly submitted instructions. When you belong to more than one workspace, confirm the firm name before reviewing an intake or changing website settings. ## Email notifications The notification address is configured in **Website & branding** and captured when a client submits. The delivery worker sends the submitted answer summary and a link back to the saved intake when email delivery is configured. Failed attempts stay queued for retry; a saved submission is not lost because email is unavailable. **Pilot status:** email delivery is still being finalized. Use the workspace inbox as the current review channel and verify a test email before inviting real clients. The shared embed test has email delivery disabled. The inbox shows **sent** or **queued** for the notification. “Sent” means the email provider accepted the message; it is not proof that the recipient opened it. Changing the notification address does not rewrite an already queued submission's recipient. ## Prepare the final work with the client The current Ontario questionnaire gathers instructions for a lawyer's review. It does not generate or execute a will or power of attorney, produce a PDF, collect payment, or create a lawyer-client relationship by itself. Apply your firm's intake and engagement process before preparing final documents. --- Source: https://docs.estatecanvas.ca/form-framework/ # How forms are configured A versioned form engine supports different intake workflows, starting with Ontario wills. ## The first questionnaire The pilot adapts [Barbarian Law's wills questionnaire](https://barbarianlaw.ca/wills/questionnaire/) into structured sections, conditional questions, and repeatable groups such as children. The EstateCanvas team manages questionnaire changes in code during this pilot. The firm dashboard controls branding, website domains, notifications, and publication; it does not include a form builder yet. ## A reusable schema Each form defines its identifier, version, sections, fields, conditions, and delivery and payment modes. The renderer and server validation use that definition. The engine is not restricted to estate questions: another practice-area intake can use the same field and answer model with a different configured schema. When a client starts, the intake stores a snapshot of the form version. Later form edits do not silently change an in-progress client's questions or reinterpret previously submitted answers. ## Future conversation intake The answer model records where an answer came from and who confirmed it. This provides a place for a future voice or chat conversation to map into the same structured fields and pass the same validation and client review. A voice agent is not available in the current product. ## Future payments and document review The schema includes a payment mode and the server can block submission for a payment-required flow. The current pilot uses no payment requirement and has no payment checkout. Payment collection before processing, draft document previews, precedent uploads, and PDF generation require separate implementation before use. These extension points describe the architecture, not enabled features. For the current workflow, see [Receive and review client intake](/using-the-workspace/). --- Source: https://docs.estatecanvas.ca/ai-assistants/ # Set up with Claude, Cursor, or Codex Give your assistant the current installation guides through a public documentation MCP server. ## Endpoint and tools ```text https://docs.estatecanvas.ca/mcp ``` This is a Streamable HTTP MCP endpoint with no sign-in. It exposes only public documentation: | Tool | What it returns | | --- | --- | | `search_docs` | Relevant guides and links for a setup question | | `get_doc` | A guide's full Markdown by slug | | `get_embed_example` | A snippet using the public key you supply, plus the installation guide | It cannot read client records, sign into your workspace, publish flows, change domains, or send email. An assistant can edit your website using its existing repository tools after you authorize that work. Workspace settings remain an authenticated task. ## Codex Add the server with the CLI: ```sh codex mcp add estatecanvasDocs --url https://docs.estatecanvas.ca/mcp ``` Or add this server entry to your Codex `config.toml`: ```toml [mcp_servers.estatecanvasDocs] url = "https://docs.estatecanvas.ca/mcp" ``` See the [official Codex MCP guide](https://developers.openai.com/codex/mcp/) for client-specific configuration and server status. ## Cursor Add a remote server entry to your project's `.cursor/mcp.json`, merging with any existing servers: ```json { "mcpServers": { "estatecanvasDocs": { "url": "https://docs.estatecanvas.ca/mcp" } } } ``` Reload or refresh MCP servers in your editor and confirm the tools appear. See the [official MCP configuration guide](https://cursor.com/docs/context/mcp). ## Claude In Claude's connectors settings, add a custom connector using the endpoint above. Choose **No sign-in** if prompted. An organization owner may need to add the connector first for a managed workspace. Follow [Claude's current connector instructions](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) for your account. ## A useful installation prompt ```text Use EstateCanvas's documentation MCP to add the client intake widget to my website. Read the guide for this site's framework first. My public embed key is: [paste the pk_ec_ key from my workspace] The page will run on: https://www.myfirm.ca Use only the public key in the website code. Tell me the exact domain to save in EstateCanvas. Test the layout and give me the changed files. ``` Do not give your assistant authentication codes, client answers, or secret API keys to install a widget. The public key is sufficient to generate the snippet. The MCP tool cannot check whether that key is published or whether the domain has been saved; verify the real page afterward. ## Without MCP Give your assistant [llms.txt](/llms.txt) for the guide index, [llms-full.txt](/llms-full.txt) for all guides, or an individual guide's **View Markdown** link. These files are generated from the same source as the website. `llms.txt` is a documentation convention; whether an assistant discovers it automatically depends on that assistant. --- Source: https://docs.estatecanvas.ca/troubleshooting/ # Troubleshoot an installation Start with the public key, published flow, and exact website domain. ## The form is blank or blocked Confirm the snippet contains a real `pk_ec_` public embed key copied from your workspace. Save settings and publish the flow. In **Allowed website domains**, add the exact origin shown in the browser address bar, including `www` or a non-default port where applicable. Save and reload the page. Browser developer tools may report a `frame-ancestors` violation for an unapproved parent. If an editor nests your preview inside another iframe, every ancestor must satisfy the frame policy. Test the published page directly rather than broadly allowing third-party editor hosts. ## The loader does not run Check that your website retained the script tag and that a security or optimization plugin did not block it. The loader only mounts valid containers present when it runs. See the [WordPress](/wordpress/) or [HTML](/html/) guide for details. ## Your website uses Content Security Policy Your existing policy must permit `https://embed.estatecanvas.ca` in `script-src` and `frame-src` (or their applicable fallback directives). Merge these hosts into your policy; do not replace the whole policy or add broad wildcards. The sign-in popup is a top-level window on `https://platform.estatecanvas.ca`. ## Sign-in does not open or return Allow the popup opened by **Verify email & get started**, or use **Open in a new tab** to continue through the hosted intake. Use the newest verification email if multiple codes were requested. Do not put verification codes into website code or share them with an installer. ## Saved answers are missing Sign in with the same verified email and use the same firm's flow. A local session may expire or browser storage may be unavailable; server-saved answers can be retrieved after authentication. Answers typed since the last successful save may not have been stored. ## The lawyer did not get an email Check **Client intake** in the correct firm workspace first. If the submission appears but its notification is queued, email delivery may be awaiting configuration or retry. Confirm the configured recipient before a new test. The pilot's shared embed test does not deliver email. ## MCP tools do not appear Use the full endpoint `https://docs.estatecanvas.ca/mcp` with Streamable HTTP. No authorization header or API key is needed. Refresh the server connection in your assistant. As a fallback, provide [llms-full.txt](/llms-full.txt) directly.