Skip to content

Website installation

Add an AI chatbot to Squarespace

Add the Chatsy website widget to your site and train the agent from public content. This guide does not include a Squarespace data connection or live order and customer data.

  • Use the site you already run

    Place the widget through the Footer field of Squarespace Code Injection without replacing the site's existing pages.

  • Keep content and records separate

    Public website pages can be added as knowledge sources, but the widget does not grant access to private platform records.

Scope

What this guide covers

This is a website installation path, not a native data connection.

Guide scope

  • Paste the Chatsy widget code into the Footer field of Squarespace Code Injection.
  • Squarespace offers Code Injection on its Core, Plus, and Advanced plans and some legacy billing plans.
  • Add public website pages as knowledge sources.
  • No direct access to Squarespace accounts, orders, forms, or customer records.

Setup guide

Install the widget in Squarespace

Follow the installation steps, then test the published widget.

Test before publishing

Check the widget on desktop and mobile, then verify the agent's sources and human handoff.

Open Readiness Quiz
  1. 01

    Prepare the agent and copy the code

    Add current public pages as sources and set up human handoff. Turn on Allow public chats, then copy the website script from the agent overview under Deploy, or from Settings → Sharing → Link and embed.

  2. 02

    Add the script in Squarespace

    Open the Code Injection panel and paste the script into the Footer field. Squarespace injects footer code before the closing </body> tag on every page. Click Save.

  3. 03

    Publish and check the launcher

    Open the live site in a private window and check a few pages on desktop and mobile. Squarespace checkout pages do not support custom code, so the launcher will not appear there.

Limits and fit

Where this setup can fail, and when another path fits better.

Provider documentation

Common failure modes

  • Allow public chats is off, so the script returns not found and no launcher appears.
  • A site Content Security Policy blocks the script or the chat iframe from the Chatsy app domain.
  • The site's plan does not include Code Injection.

Not a fit for

  • Sites that do not allow custom code.
  • Teams looking for direct access to platform records through this setup.

FAQ

Common questions

No. This is a widget installation guide. Chatsy does not currently connect to the Squarespace API through this setup.

No. The agent can answer from sources you add to Chatsy and can hand a conversation to your team. The embed code alone does not expose private platform data.

One script tag, such as <script src="https://chatsy.app/api/embed-script/YOUR_AGENT_ID"></script>. Copy the real tag from the agent overview under Deploy, or from Settings → Sharing → Link and embed. It loads only while Allow public chats is on.

The script runs once per page, so a second copy of the same tag is ignored. If two different agents' tags are on one page, only the first one loads. Remove the extra tag from page-level code or blocks.

The script loads from the Chatsy app domain and opens the chat in an iframe from the same domain. If your site sends a Content-Security-Policy header, allow that domain in script-src and frame-src, then reload and check the browser console.

No. Squarespace checkout pages do not support custom code, and code injection does not appear on Index landing pages.

Ready to add Chatsy to Squarespace?

Build the agent, add approved sources, then follow the installation steps above.