Add an AI chatbot to Squarespace

On Squarespace, a chatbot goes in through Code Injection, a panel in your site settings where you paste one line. Here is how to do it with Chatporch, which plans allow it, and what to check if the chat doesn't appear.

Start free

Prices and features checked on .

The short version

  • Plan needed: Core, Plus or Advanced. Squarespace's Basic plan doesn't include Code Injection.
  • Where it goes: Pages, then Website Tools, then Code Injection. Paste the line into the Footer field.
  • Cost: Chatporch is free for 50 visitor messages a month, and $19 a month on Starter.

Squarespace’s help center describes Code Injection as the way to add HTML and scripts to your site, and its pricing page names live chat as a use for it. Chatporch goes in the same way.

What you need

  • A Squarespace plan with Code Injection. Core, Plus and Advanced include it, as do some older plans.
  • A free Chatporch account. No credit card is needed.
  • Your own domain on the site. The chatbot runs on the domain you set it up for and its subdomains, so you will check it there.
Squarespace plan
Monthly billing
Code Injection
Basic
$25 a month
Not included
Core
$39 a month
Included
Plus
$65 a month
Included
Advanced
$139 a month
Included
From squarespace.com/pricing on the date above. Yearly billing is cheaper on every plan.

Add the chatbot, step by step

  1. Sign up free and create a bot.

  2. Paste your Squarespace site’s address. Chatporch drafts what the bot knows from your pages.

  3. Edit the draft and add anything visitors ask about, such as hours and prices.

  4. In Chatporch, open the Install tab and copy the one-line snippet. It looks like this:

    <script src="https://embed.chatporch.com/v1/chatporch.js" data-agent="yoursite.com" async></script>
  5. In Squarespace, open Pages, scroll down to Website Tools and click Code Injection.

  6. Paste the snippet into the Footer field and click Save.

  7. Open your site in a private browser window. The chat button appears in the corner of every page.

The Header field works too. Footer is the usual place for chat scripts, and either way the script loads in the background.

If the chat button doesn’t show

Open the chat from your own button

You can open the chat from a button on your page as well as the floating one. Add a Code Block where you want the button and paste:

<button data-chatporch-open>Chat with us</button>

To hide the floating button, add data-no-button to the script tag in your Footer field.

What it costs

Chatporch Free answers 50 visitor messages a month with no time limit, and shows Chatporch branding. Starter is $19 a month for 500 visitor messages, with no Chatporch branding. Each visitor message counts once, and the bot’s replies are free.

On Squarespace Core with monthly billing, the site and the chatbot come to $58 a month. Other AI chat tools start higher: $39 a month for Tidio with its AI, $40 for Chatbase and $59 for SiteGPT. Our AI chatbot pricing page compares 8 of them.

Common questions

Can I add a chatbot to Squarespace without coding?

Yes. You copy one line from Chatporch and paste it into Squarespace's Code Injection panel. You don't write or edit any code.

Which Squarespace plans allow a chatbot?

Any plan with Code Injection: Core, Plus and Advanced, plus some older plans. Basic doesn't include it. On monthly billing, Core is $39 a month.

Will a chatbot slow down my Squarespace site?

The Chatporch script loads in the background, so your pages don't wait for it.

Can I show the chatbot on just one page?

Yes. In the Pages panel, hover over the page, click the gear icon and open Advanced. Paste the line into Page Header Code Injection there instead of the site-wide Footer field.

Does it work on Squarespace 7.0 and 7.1?

Yes. Code Injection is on both versions, and the site-wide Footer field works the same way on each.

Leave the porch light on

Your site can be answering questions tonight.