Embed an AI chatbot into your Squarespace site using code injection and an LLM-powered backend. The prompt walks you through embed steps, snippet code and a backend plan.
What you get
- A plan check up front: code injection needs a Business plan or higher, to verify on Squarespace's pricing page
- A choice between a third-party widget and a custom-coded bot
- A front-end snippet (HTML, CSS, JavaScript) for site-wide footer injection or a page code block
- A serverless proxy on Cloudflare Workers, Vercel or Netlify that keeps your API key secret
- A system prompt grounded in your site's facts
- Basic protections: origin check, message length limit, rate limiting and spend caps
Who it's for
Squarespace site owners and web developers at an intermediate level who want a bot for FAQs, booking help, product finding or lead capture. It never puts API keys in client-side code and does not promise cost figures; it explains what drives cost and how to cap it.
Works with Claude, ChatGPT and other AI chats.