Groundly / Install / Squarespace
Add Groundly to your Squarespace site.
Your AI website assistant, live on your Squarespace site in a few minutes. You’ll need a Groundly account and a Squarespace plan that includes Code Injection. If you can’t find it, your plan doesn’t include it.
Installing on Squarespace.
Menu names can differ slightly between versions and themes, but the steps stay the same.
Get your script from Groundly
In Groundly, add your website with its name and domains, and choose its industry. Then open the website’s Settings and copy the script from the Script section. It looks like this, with your own website key:<script src="https://widget.groundly-ai.com/v1/widget.js" data-website-key="wk_your_website_key" async></script>
Open Code Injection
In your site’s settings, open Developer Tools (called Advanced on some sites) and choose Code Injection.
Paste into the footer
Paste your Groundly script into the Footer box. Code here goes just before
</body>on every page.Save
Click Save, then open your live site to see the assistant.
Check it on your live site
Open your website in a private browser window and look for the chat button. Ask it a question about your business. Until you’ve chosen pages in Knowledge, it has nothing to answer from, so do that next.
Squarespace details.
Domains
Add your custom domain, such as example.com. If you also want the assistant on your squarespace.com address, add that as a domain too.
Check the live site
Look for the assistant on your published site rather than in the editor.
It won’t clash with your theme
The assistant adds one element to your page and keeps its styles separate, so your theme’s fonts and colours stay untouched. It loads after your page, so it doesn’t slow it down.
Using something else?
Groundly works on any website you can add a script to.
If something’s not right.
Something else on your mind? Email hello@groundly-ai.com and we’ll answer.
Start freeThe chat button doesn’t appear
Check that the domain in your browser’s address bar is one of the website’s domains in Groundly (www. is covered automatically, other subdomains aren’t), that the page loads over https://, and that the script is before </body> rather than in <head>. Then clear any cache and reload.
It appears on one address but not another
Each address needs its domain in Groundly. Add staging, shop or builder addresses (such as yourstore.myshopify.com) as extra domains in the website’s settings.
We added the script twice
That’s fine: the second copy does nothing. Remove it when you can to keep your code tidy.
Our site has a Content Security Policy
Allow https://widget.groundly-ai.com for scripts, connections and fonts. The script, the assistant’s answers and its fonts all come from there. If it still doesn’t appear, email hello@groundly-ai.com.