luckpanda
Integration

Squarespace chatbot: how to add an AI chatbot to Squarespace

Build the chatbot from your Squarespace site's address, then paste its one-line script in Squarespace under Website Tools, Code Injection, Footer, and save. It answers from your pages, qualifies buyers and hands you leads.

Updated November 28, 2026

The short answer

How do I add a chatbot to Squarespace?

Open your site, go to Website Tools, Code Injection, paste the chatbot's script into the Footer field and click Save. On Squarespace 7.1 and 7.0 alike, footer code goes before the closing body tag on every page, so the chat button shows across the site. Code injection is available on the Core, Plus, Advanced and some legacy plans; the Basic plan cannot run chatbot scripts.

Try it on your Squarespace site first

Paste your Squarespace address and ask it what your buyers ask. No account and no card.

What you get

LuckPanda Chatbot: features for a Squarespace business

  • It learns your Squarespace pages from your address. The free preview reads up to 30 pages and answers up to 20 questions, kept for 7 days unless you sign in. Once you keep it: up to 50 pages per website, plus documents (PDF, DOCX, TXT, MD, CSV, up to 5 MB each), text and FAQs.
  • It answers only from what you give it. When the answer is not there it says so and offers to pass the chat to a person. It does not browse the web or guess prices.
  • It sells: at most two or three short questions, contact details only once a visitor wants something, and one next step. Leads arrive with a summary of the need, timeline and size, in LuckPanda CRM.
  • It replies in the language the visitor writes in.
  • Every chat is saved word for word with the page it started on. With request logging on, things visitors asked for that you do not offer are ranked on a Requests board.

Setting up and testing are free. Putting it on your Squarespace site needs the Chatbot plan, $4.99 (₹199 in India) or $44.91 (₹1,791 in India), for up to 10 websites. AI replies use tokens: 10,000 free tokens once, then one-time credit packs. There is no Squarespace Extensions listing for LuckPanda: you install it with code injection.

Plans

Which Squarespace plan allows code injection?

Core, Plus and Advanced, and some legacy plans. Squarespace's pricing page lists code injection from Core up, for code "like Meta Pixel or live chat services", while Basic gets only a basic code block for HTML, plain text, Markdown or CSS. JavaScript or an iframe in a code block also needs Core, Plus or Advanced. On Basic, upgrade first.

Squarespace planCode injectionJavaScript in a code blockChatbot script works
BasicNoNoNo
Core
Plus
Advanced

From the Squarespace pricing page and Help Center, read 2026-11-28.

Before you start

What you need

  • A Squarespace site on Core, Plus or Advanced. During a trial you cannot inject code into lock screens, and checkout pages never run code.
  • Owner or admin access.
  • The chatbot script from the bot's Install tab in LuckPanda. It renders in its own shadow DOM, so your Squarespace styles do not change it.
The script (your bot ID replaces the x's)
<script async src="https://luckpanda.app/chat/widget.js" data-bot="cb_xxxxxxxxxxxxxxxxxxxxxxxx"></script>
Step by step

Where do I paste the chatbot script in Squarespace?

  1. Build the bot from your sitePaste your Squarespace address on luckpanda.app/chatbot. The chat opens after about five pages are read or 30 seconds.
  2. Test it with real buyer questionsAsk what your customers ask: prices, booking, delivery. The preview answers up to 20 questions. Where an answer is missing, add a page, document or FAQ to its sources.
  3. Keep it and go liveSign in to keep the bot, then subscribe to the Chatbot plan so it answers on your website.
  4. Set the allowed websitesOn the Install tab, list your domain in both forms, https://yourbusiness.com and https://www.yourbusiness.com, plus your squarespace.com address if visitors use it.
  5. Copy the scriptFrom the Install tab.
  6. Open Code InjectionIn Squarespace, open Website Tools and click Code Injection.
  7. Paste it into FooterPaste the script into the Footer field, not Header: footer code loads before the closing body tag and does not hold up your page.
  8. SaveClick Save, then open your live site to check it.
Squarespace settingChoose
WhereWebsite Tools, Code Injection
FieldFooter (before the closing body tag)
PagesEvery page, except checkout
One page onlyPage settings, Advanced, Page Header Code Injection
One page

How do I add a chatbot to one page only?

Leave the site-wide Footer empty and use the page's own setting: in the Pages panel, hover the page, click the gear icon, open Advanced and paste the script into Page Header Code Injection. Another route is a Code block on that page, set to HTML, with the script inside it. Use one route, not both, or the widget loads twice.

Answers

Can a Squarespace chatbot answer from my own pages?

Yes, if the chatbot reads them. Many Squarespace chat widgets are live chat or rule-based flows that answer with what you type into their builder. LuckPanda Chatbot reads your Squarespace pages from your address and answers only from them and from the documents, text and FAQs you add. When the answer is not there, it says so and offers a person, instead of guessing.

Check it

How to check it works

  • Open your live domain in a private window, logged out. Squarespace notes that embedded code sometimes does not appear while you are logged in, even when visitors see it.
  • Ask one question whose answer is on your site and one whose answer is not. The second should get an honest "I don't have that" and an offer to reach a person.
  • In LuckPanda, the bot's Install tab shows Installed, with the website and the time it was last seen.
  • Leave a test email in a chat and check that the lead appears with a summary.
Troubleshooting

Why is my chatbot not showing on Squarespace?

  • You are logged in. Check in a private window, or use Preview in Safe Mode.
  • The site is on Basic, which has no code injection and runs no JavaScript in code blocks.
  • The script went into a code block in Markdown or CSS mode, so it shows as text. Choose HTML.
  • The domain is not on the allowed list. Add the www and bare domain.
  • The bot is not live. A paused or draft bot is not served.
  • You are on a checkout page. Squarespace checkout pages do not run injected code.
  • A 7.0 template with Ajax loading. Squarespace warns Ajax loading can stop injected code loading correctly; test after turning Ajax off.

Put a sales chatbot on your Squarespace site

Paste your Squarespace address and see what it would say to your buyers. Setting up and testing are free.

Questions people ask

Which Squarespace plan allows code injection?

Core, Plus, Advanced and some legacy plans. Basic does not, so a chatbot script cannot run on Basic.

Does Squarespace have its own AI chatbot?

Squarespace's plans list code injection for "live chat services" rather than a visitor chatbot of their own, so you add one with a script.

Can a Squarespace chatbot answer from my own pages?

Yes. LuckPanda Chatbot reads your Squarespace pages from your address and answers only from them and from what you add. When the answer is not there, it says so.

How do I add a chatbot to one page only?

Paste the script in that page's Page Header Code Injection (gear icon, Advanced) or in a Code block set to HTML, instead of the site-wide Footer.

Does the chatbot work on Squarespace 7.0 and 7.1?

Yes. The Code Injection Footer field exists on both. On 7.0 templates with Ajax loading, test pages after navigation, because Squarespace says Ajax can stop injected code loading correctly.

For AI agents

Build it with your AI agent

Give an agent your site and it can create the chatbot, read your pages and test it through LuckPanda's API and MCP. It prepares the work; going live stays with you.

Use LuckPanda's MCP server (https://luckpanda.app/mcp) to build a website chatbot for me. Ask for my website address, call chatbot_create_from_website with it, wait until the pages are learned (chatbot_source_list), then run a few test questions with chatbot_test_message and show me the answers. Do not put it live: I will do that myself.

Instructions for AI agents

Needs a LuckPanda agent key (Settings › Developers) with the chatbot.manage grant. MCP endpoint: https://luckpanda.app/mcp (Streamable HTTP, bearer key).

  • chatbot_create_from_website { url }: creates a draft chatbot named after the site and starts reading it.
  • chatbot_source_list: pages learned, failed or skipped, with a reason for each.
  • chatbot_test_message: asks the bot a question as the owner. Test chats never email anyone.
  • Going live (chatbot_update with status live) is a person's action; an agent gets APPROVAL_REQUIRED.

Try it on your website

Paste your address and watch the chatbot learn your pages. No account and no card.