Embed AI on Squarespace or Wix (No Developer Needed)

Step-by-step instructions for adding an Alysium AI chatbot to Squarespace or Wix — copy the script tag, paste it in the right place, and your agent is live on your website in under 10 minutes.

BrandonFebruary 6, 20266 min read
TL;DR: Add an AI chatbot to Squarespace by going to Settings → Advanced → Code Injection → Footer and pasting the Alysium script tag. On Wix, go to Settings → Advanced → Custom Code → Body (end) and paste the same script. Both platforms take under 10 minutes with no coding knowledge required.

The embed is the easiest part of building a website AI agent — which is a good thing, because it's often the step that feels most intimidating to non-technical website owners. There's no coding involved. You're copying one block of text from Alysium and pasting it in one specific field in your website builder's settings. That's it.

This guide covers Squarespace and Wix specifically, with the exact navigation path for each.

Before You Embed: Build and Test Your Agent

Don't skip the build phase just because you're eager to get to the embed. An agent you haven't tested is an agent that might answer your customers' questions incorrectly. Complete these steps first: upload your knowledge base documents (service menu, FAQ, hours and pricing), write a scope and tone instruction, add 5 conversation starters, and test at least 10 conversations with the questions your customers actually ask.

The test phase is where you catch knowledge base gaps before customers do. If you ask the agent "what are your hours?" and it can't answer, you're missing a hours document. If you ask "do you offer gift cards?" and it guesses, you need to add that information explicitly. Fix gaps at the test stage — a 15-minute fix in the knowledge base before launch is worth hours of managing confused customers after launch.

When you're satisfied with the test results, navigate to your agent's settings in Alysium and find the embed section. Copy the script tag — it looks like a short block of HTML starting with <script. That script tag is what you'll paste into your website.

The most common pre-embed mistake: uploading documents and testing immediately without reviewing the actual retrieval quality. Upload your FAQ document, then ask the agent the first 5 questions on the list. If any answer is vague or incomplete, the problem is almost always in the document itself — an FAQ entry that says 'Call us for details' rather than actually providing the details. The agent retrieves what's there; if the document is vague, the agent's answer is vague. Revise the document until every test question gets a complete, specific answer, then move to embedding.

Embedding on Squarespace

Squarespace uses a feature called Code Injection to add custom scripts to your site. Here's the exact navigation:

  1. From your Squarespace dashboard, click Settings in the left sidebar
  2. Scroll down to Advanced and click it
  3. Click Code Injection
  4. You'll see four text fields: Header, Footer, Lock Page, and Order Confirmation. Paste the Alysium script tag in the Footer field
  5. Click Save in the upper left

The widget will appear on every page of your Squarespace site — typically as a chat bubble in the lower-right corner, which is the default position in Alysium's widget settings.

Testing immediately after embedding: Open your website in a new browser tab and look for the chat bubble. Click it to confirm the widget loads and your welcome message appears. Ask one of your conversation starter questions to verify the agent responds correctly. If the widget doesn't appear, make sure you saved after pasting and that you pasted in the Footer field specifically, not the Header field.

If you only want the widget on certain pages: Squarespace's Code Injection injects on all pages by default. If you want page-specific injection, use a Squarespace code block on individual pages instead of Code Injection — search for "code block" in the Squarespace editor and paste the script tag there.

One Squarespace-specific behavior worth knowing: the Code Injection Footer applies to all pages including the checkout page if you have a Squarespace Commerce store. If you have a specific reason to exclude the agent from the checkout flow — some store owners find it distracting during purchase — you can use a page-specific code block on the pages where you do want the widget, rather than the global Code Injection. For most small business websites without e-commerce, the global Code Injection Footer is the right approach and the simpler one.

Embedding on Wix

Wix uses a feature called Custom Code for adding scripts. Here's the exact path:

  1. From your Wix dashboard, click Settings in the left menu
  2. Scroll down to Advanced and click it
  3. Click Custom Code
  4. Click + Add Custom Code in the upper right
  5. Paste your Alysium script tag in the code field
  6. Set Load code on to "All pages"
  7. Set Place Code in to "Body - end"
  8. Give it a name (e.g., "Alysium Chat Widget") and click Apply

The widget will appear across your Wix site after publishing. Note: Wix requires you to Publish your site after making changes in Custom Code for the changes to appear on your live site. If you test immediately after adding the code, you may need to publish first.

Testing on Wix: After publishing, open your live site URL (not the editor preview) and look for the chat bubble. The editor preview doesn't always show custom code correctly — always test on the published version.

One Wix-specific behavior that catches people off guard: Custom Code in Wix applies to your published site, not your editor workspace. When you're working in the Wix editor, you won't see the chat widget — you see the editor interface. Switch to 'Preview' mode and you still won't see it. The only way to confirm the widget is live is to click 'Publish' and then visit your actual website URL in a separate browser tab. This isn't a problem with Alysium — it's how Wix handles all custom code. Always test on the published URL.

Domain Restriction: Keep Your Agent on Your Site Only

Alysium's domain restriction setting limits the widget to only load on your specified domain. This is a best practice for business websites — it prevents the script tag from being copied and used on other sites, and it ensures your widget only appears where you intended it.

To set domain restriction, go to your Alysium agent's settings, find the Embed section, and enter your website domain (e.g., "yourbusiness.com" — no https://, no trailing slash). Save the setting. The widget will now only load on that domain, even if someone copies your script tag.

Domain restriction has a second benefit beyond security: it prevents accidental embedding. If you share your Alysium script tag with a web designer who's helping you update the site, or if you copy the tag to test on a staging environment, you don't want the widget appearing on those environments and confusing visitors. Setting domain restriction to your production domain means the widget only ever appears where you intend it to appear. Set this before you share the script tag with anyone else — it takes 30 seconds and prevents potential confusion.

Choosing Where the Widget Appears

The default lower-right corner placement works well for most websites. If your site has a sticky bottom bar or footer content that conflicts with the widget position, you can adjust the position in Alysium's widget configuration settings — lower-left, or custom CSS positioning. Most small business websites work well with the default settings; consider customization only if you notice a visual conflict on your specific site layout.

The placement decision that produces the most impact for most small businesses: add the widget to the top of your Contact page, not just as a floating bubble. Visitors who navigate to the Contact page are expressing clear intent to communicate — they're the highest-intent visitors on your site. A chat widget that appears prominently at the top of the Contact page, with a welcome message that specifically addresses the most common contact page queries ('I can answer questions about our services, pricing, and booking process right now — or reach out to us directly below'), captures those high-intent visitors before they scroll to the contact form and wait for a callback.

What Happens When the Script Is Live

Once the widget is embedded and live, visitors see a chat bubble when they arrive on your site. Clicking it opens the chat window with your welcome message and conversation starters. Everything they type goes to your Alysium agent, which responds from your knowledge base.

You can monitor conversations in real time from your Alysium dashboard. The analytics section shows total conversation count, which starters get clicked most, and the full transcript of every conversation. Review these weekly in the first month — the first 20 conversations usually reveal 2–3 improvement opportunities that meaningfully upgrade your agent's usefulness before most of your customers encounter it.

Your website is ready for its AI layer. Build your agent on Alysium — free to start, embed on Squarespace or Wix this afternoon.

One usage pattern worth anticipating: the first week after embedding, you'll see more conversations than subsequent weeks. New deployments get 'discovery traffic' — visitors who are curious about the new chat widget regardless of whether they have a specific question. This discovery effect inflates week-one conversation counts. Week two and three settle into the steady-state pattern that reflects actual customer behavior. Don't improve based on week-one data alone — let the agent run for two to three weeks before drawing conclusions about what's working and what needs improvement.

Frequently Asked Questions

Related Articles

Ready to build?

Turn your expertise into an AI agent — today.

No code. No engineers. Just your knowledge, packaged as an AI that works around the clock.

Get started free
. Test on your live site URL, not an editor preview window."}},{"@type":"Question","name":"How do I prevent my AI agent from appearing on other websites?","acceptedAnswer":{"@type":"Answer","text":"Enable domain restriction in your Alysium agent's embed settings — enter your website domain (without https:// or trailing slash). The widget will only load on that domain even if someone copies your script tag. This is recommended for all business website deployments."}}]}