In the app: Agent Settings → Widget → Install → Install code. In Squarespace: Settings → Advanced → Code Injection → Footer.
Code Injection and Code blocks are on Squarespace Business and Commerce plans, in versions 7.0 and 7.1, and the Personal plan has no custom code.
What do I do first?
1
Check your plan
Open Settings in Squarespace, and if Code Injection is missing from the Advanced menu, you are on Personal and need to upgrade.
2
Copy the Install code
In SmartAlex open Agent Settings → Widget → Install → Install code and press Copy, and your
data-tenant-id is filled in.3
Turn the widget on
Switch on Show widget on my website under Agent Settings → Widget.
How do I add it to every page?
1
Open Code Injection
Go to Settings → Advanced → Code Injection.
2
Paste into the Footer
Paste the tag into the Footer box, not Header.
3
Save and view live
Click Save, then open your real address in a normal tab, because injected code does not run in the editor preview.
How do I add it to one page?
1
Add a Code block
Edit the page, click an insert point and add a Code block.
2
Paste the tag
Paste the tag, leave the block on HTML, and turn Display Source off so the code runs.
3
Save and view live
Code blocks do not run scripts in the editor preview, so save and then open the published page.
Which widget style should I pick?
You choose the style in Agent Settings → Widget, not in Squarespace. Widget v2 gives voice and chat in one window, and Pill, Chat bar, Side panel and Voice pill are the others. The tag stays the same, and changes show on the next page load. See Widgets.Why is the widget not showing?
- Check you are on a Business or Commerce plan.
- Check
YOUR_TENANT_IDwas replaced with your real tenant ID, then hard refresh. - Check Show widget on my website is on, and that your site is in Allowed websites if you set that list.
- Check the tag is in one place only.
Questions people ask
Which Squarespace plans allow the widget?
Which Squarespace plans allow the widget?
Code Injection and Code blocks are on the Business and Commerce plans. The Personal plan has no custom code, so the widget does not load there.
Why do I see two widgets?
Why do I see two widgets?
The tag is in two places, so keep it in Code Injection Footer or in a Code block, not both.
Why does it not show in the Squarespace editor?
Why does it not show in the Squarespace editor?
Squarespace runs injected code and Code blocks only on the published site, so open your real address in a normal browser tab.
Related
Installing the widget
The full install guide and fixes.
Widgets
The five styles, colours and limits.
Wix
The same widget on Wix.
MCP overview
Run your account from an AI app.

