Squarespace chatbot

Add an AI Chatbot to Your Squarespace Site

To add an AI chatbot to Squarespace, create a free Ethora agent, copy its one-line script and paste it into the Footer field of Squarespace Code Injection. The whole setup takes about 15 minutes and needs no coding. The chatbot then answers visitors across your site, from your own pages and documents.

Start free
Free Ethora plan, no credit card About 15 minutes One line in Code Injection
Ethora admin panel, AI Widget settings: the one-line script to copy for your website, next to a live preview of the chat widget

AI chatbot for your website Squarespace

What you need to add a chatbot to Squarespace

This guide belongs to the AI chatbot for your website page, which covers what the widget does and how it looks. Here we cover one thing: where its code goes on Squarespace.

  • An Ethora account on the free plan: $0, no credit card, 1,000 monthly active users and all chat and AI features.
  • The address of your Squarespace site, plus any PDF or other documents you want the chatbot to answer from.
  • A Squarespace plan that includes code injection. Squarespace lists it for the Core, Plus and Advanced plans and for some legacy billing plans.
  • About 15 minutes. No coding: you copy one line and paste it.

You add the widget with Code Injection, so there is nothing to install from Squarespace Extensions. The widget is added with custom code, through the Code Injection feature Squarespace provides for this.

Step by step

Add the chatbot in five steps

Steps 1 to 3 happen in the Ethora admin panel, step 4 in Squarespace, and step 5 on your live site.

  1. Sign up free and create an agent

    Create an Ethora account on the free plan: $0, no credit card. In the admin panel, create your agent from a template and give it a name, a greeting and a few lines of instructions. The no-code AI agent builder walks you through it.

  2. Add your content and test it

    Enter the address of your Squarespace site and Ethora crawls its pages, then crawls them again on a schedule. Upload PDF and other documents for anything the pages do not cover. Ask real questions in the test chat, which shows the sources behind each answer.

  3. Copy the one-line script

    In the Ethora admin panel, open your app's AI Widget settings. Under Website widget, the Code tab shows the script with your app ID filled in. Copy it from there.

  4. Paste it into Squarespace Code Injection

    Open the Pages panel, click Custom Code at the bottom, then Code Injection. Paste the script into the Footer field and click Save. Full steps below.

  5. Publish and check

    Open your site address in a private or incognito browser window and look for the chat launcher in the corner. Ask it something a customer would ask. To change the theme, colours, launcher or position, use the Ethora admin: it has seven themes and a live preview, and saved changes reach your site within about a minute without pasting the code again.

Where to paste the chatbot code in Squarespace

Squarespace has one place for code that should load on every page: the Code Injection panel. Its Footer field is the one you want.

Code Injection: Footer
<script
  src="https://widget.chat.ethora.com/assistant.js"
  data-app-id="YOUR_APP_ID"
></script>

This is a short example with a placeholder. Copy the exact code from your admin panel: in AI Widget settings it comes with your own app ID in place of YOUR_APP_ID, and it may carry more attributes than the example. Paste it as it is.

  1. Log in to Squarespace and open the Pages panel of your site.
  2. At the bottom of the panel, click Custom Code. If your site is on version 7.0, click Website Tools instead.
  3. Click Code Injection.
  4. Paste the Ethora script into the Footer field. Squarespace injects code from this field before the closing </body> tag on every page of your site.
  5. Click Save.

The Header field in the same panel also applies to every page, but it places code in the <head> tag. Use Footer for the chat widget.

Source for these steps: Squarespace Help Center, "Customize parts of your site with code injection", checked in December 2026. Menus change: if a label on your screen differs, follow the current version of that article.

Troubleshooting

Widget not showing on Squarespace? Check these

Go through them in order, from the most basic cause down.

Code Injection is not on your plan

Squarespace lists code injection for the Core, Plus and Advanced plans and some legacy billing plans. If you cannot use the panel, check which plan the site is on before anything else.

The code is on one page, not the whole site

Each page also has its own code field: page settings, Advanced, Page Header Code Injection. Code there only affects that page. For a chatbot on every page, use the site-wide Code Injection panel and its Footer field.

You are looking at the logged-in preview

When Squarespace detects a problem loading the site preview, it offers to disable scripts there and shows a banner saying scripts are disabled in the preview. This only affects what you see while logged in. To view the site as a visitor does, open your site address in a private or incognito window.

A cached copy of the page

Your browser may still show the page as it was before you saved. Reload it with a hard refresh, or try a private window or another device.

The script was cut or changed

Paste the whole line, with its opening and closing script tags. Squarespace asks for JavaScript in code injection to sit inside script tags, which the Ethora code already does. Copy it again from AI Widget settings rather than from the example on this page, which has a placeholder app ID.

Good to know

Squarespace specifics

A few things that are particular to Squarespace sites.

Version 7.0 and version 7.1

The feature is the same on both. Only the menu label differs: Custom Code on version 7.1, Website Tools on version 7.0. The bottom of the Pages panel shows which version your site is on.

Checkout pages

Squarespace does not support custom code on checkout pages, so the chat launcher does not appear there. It appears on the rest of the site.

Who supports what

Squarespace states that its support team cannot help you add custom code or troubleshoot it. Questions about the widget itself go to Ethora, not to Squarespace.

No clash with your template

The script loads asynchronously, and the widget's styles are isolated in a Shadow DOM, so it does not clash with your site's CSS. Its look is set in the Ethora admin: seven themes, colours, launcher and position, with a live preview.

Squarespace chatbot: FAQ

Is there an Ethora app or extension for Squarespace?

No. You add the widget with Code Injection, so there is nothing to install from Squarespace Extensions. You add the chatbot by pasting one line of code into the Footer field of Code Injection, which takes a minute once your agent is ready.

Which Squarespace plans let me add a chatbot with code?

Squarespace lists code injection as available in the Core, Plus and Advanced plans and in some legacy billing plans. Plans change over time, so confirm against the Squarespace help article linked above or your own billing page.

Is a chatbot for Squarespace free with Ethora?

The Ethora side can be. The free plan is $0 with no credit card, 1,000 monthly active users and all chat and AI features. See pricing. Your Squarespace plan is billed by Squarespace as usual.

What does the chatbot answer from?

From your own content. Ethora crawls the pages of your Squarespace site and crawls them again on a schedule, and you can upload PDF and other documents. The test chat shows the sources behind each answer, so you can check it before visitors do. The method is explained on the RAG chatbot page.

Do I paste the code again when I change how the chatbot looks?

No. Themes, colours, the launcher and its position are set in the Ethora admin with a live preview, and saved changes reach your site within about a minute. The line in Code Injection stays the same.

Can I read the conversations and reply myself?

Yes. Conversations are listed in the Ethora admin, and a person from your team can join the same conversation when a visitor needs a human.

Start free

Put an AI chatbot on your Squarespace site today

Free plan, no credit card, about 15 minutes to set up. If you would rather talk it through first, book a short call with our team.

Start free
No code needed Answers from your own pages A person can join any conversation