Skip to main content

1. Copy your Public Key

In the dashboard, open your Endpoint form, go to General, and copy the Public Key from the Form endpoint URL.

2. Add the embed code

Copy this code and replace YOUR_FORM_PUBLIC_KEY with your Public Key:

3. Paste it into Squarespace

  1. Edit the page and add a Code block where the form should appear.
  2. Paste the code into the block.
  3. Turn off Display Source so the code runs instead of being shown as text.
  4. Save and publish the page.

4. Test it

Open the live page, send a test message, and check Submissions in the dashboard.

Good to know

  • Running JavaScript in a Code block depends on your Squarespace plan. If the form shows but does not submit, check that your plan supports it.
  • Code blocks do not run reliably in the editor preview. Test on the published page.
  • Style the form in the <style> block, or in Custom CSS under your site’s design settings.
  • With domain restriction on, add your site domain, including any squarespace.com address you use for testing.