---
title: "Add your mate to a Squarespace site | Busymate AI"
description: "Wire the embed through a Code Block/Embed Block (or Code Injection on Business+), let it learn your pages, register a member as your identified visitor, and add page actions with WebMCP."
last_updated: "2026-09-17T19:01:17+03:00"
---
# Add your mate to a Squarespace site | Busymate AI
Source: https://busymate.ai/ru/docs/guides/squarespace
Last modified: 2026-09-17T19:01:17+03:00
Squarespace has no plugin runtime, so Busymate AI reaches a Squarespace site through the universal embed — one script tag placed via a **Code Block** or **Embed Block** inside a page. Squarespace's own **Code Injection** (a site-wide header/footer script, the simplest path on WordPress/Ghost/BigCommerce) is a **paid-plan feature on Squarespace** — it is greyed out behind an upgrade prompt on the free trial and on the entry Personal plan, so start with the block-based path below if you're not sure which plan you're on.
## Before you start
- A Squarespace site with editor access.
- Know your plan: **Business plan or higher** unlocks Code Injection (Settings → Advanced → Code Injection). Below that, a Code Block or Embed Block on each page is the free-tier path.
- Your site's **Site Availability** (Settings → Advanced → Developer Tools → Website Protection, or Settings → Website → Site Availability) must be Public for the embed to render for visitors — Password Protected or Private sites keep the whole page (and the embed with it) behind a gate. **On a 14-day trial, "Public" is itself paid-plan-gated** ("Upgrade to publish") — only Password Protected, Private, or (Enterprise) SSO Protected are selectable until the site is on a paid plan, independent of whether Code Injection is unlocked. Building the demo/knowledge/connector pieces below does not require publishing; a real visitor reaching the widget does.
- Your workspace open in the [Console](https://busymate.ai/console).
## 1. Add the embed
**If your plan has Code Injection (Business or higher):**
1. Open **Settings → Advanced → Code Injection**.
2. Paste the one script tag from your Console connection settings into **Header**:
```html
```
3. Save. The floating widget now appears on every page — nothing else to configure for that part.
**On a plan without Code Injection:**
1. Open the page you want the widget on (or repeat this on every page) in the Squarespace editor.
2. Add a **Code Block** (or an **Embed Block**, which wraps the same idea) and paste the same script tag.
3. Save and **publish the page** — a block's script only runs on the published site, not in the editor preview.
Either way, the widget needs your site to be **Public** to render for a real visitor — see "Before you start" above.
## 2. Register the page's own actions (WebMCP)
Alongside the embed script, a second small script can register the page's own actions — "view the class schedule," "book a session" — through the standard `document.modelContext` WebMCP surface, so the assistant can act instead of only answering. Drop it in the same Code Block/Embed Block or Code Injection panel, after the embed script tag. See [Add page actions with WebMCP](https://busymate.ai/ru/docs/guides/page-tools) for the shape.
## 3. Teach it your content
Point a [website source](https://busymate.ai/ru/docs/guides/knowledge) at your own Squarespace site URL — the same crawler every connection uses, reading your published pages and citing back to the page an answer came from.
## 4. Recognize signed-in customers
Squarespace's native **Member Areas** feature (on Business/Commerce plans) is the identified-visitor layer: register your own site (or a small backend you control) as an identity provider — see [Recognize signed-in customers](https://busymate.ai/ru/docs/guides/identified-visitors) for the exact fields (issuer, JWKS URL, the launch endpoint) — then define `window.BusymateAI.getIdentity` **before** the embed `