Groundly / Install
Install Groundly on your website.
Add your website, choose its industry, then paste one line of code before </body>. It works with WordPress, Shopify, Wix, Squarespace, Webflow and any website you can add a script to.
Five steps, one line of code.
You do steps 1 to 3 in Groundly, step 4 on your website, and step 5 back in Groundly.
Add your website
In Groundly, choose Add website and enter its name and domains, such as example.com. Each domain also covers its www. version; any other subdomain, like shop.example.com, needs adding as its own domain.
Choose your industry
Pick the industry that fits the website. It decides which guardrails the assistant follows, and you can change it later.
Copy your script
Open the Script section and copy it in one click. 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>
Paste it before </body>
Add the script to every page, just before the closing
</body>tag. On most platforms that’s a “footer code”, “custom code” or “code injection” setting. Don’t put it in<head>.Choose your pages
In Knowledge, choose the pages the assistant should answer from. It answers only from the pages you approve, so this is what makes it useful.
Step-by-step for your platform.
Exactly where to paste the script on the most popular website builders.
Custom sites and other builders.
Paste the script just before </body> in the template or layout that every page shares, such as a footer include. On other website builders, look for a setting called footer code, custom code or code injection, and choose the end of the body.
Light, contained and easy to remove.
What adding Groundly does, and doesn’t do, to your website.
Your key only works on your domains
The website key in the script is public, like any script on a web page. It only works on the domains you’ve added, over https://, so copying it to another site does nothing.
One element, nothing else
The script adds a single element to your page. It doesn’t read or change anything else on it, and adds no global variables.
Your design stays yours
The assistant’s styles are kept separate from your site’s, so neither affects the other. Set its accent colour to match your brand in Groundly.
No slowdown
The script loads asynchronously, after your page, so it doesn’t hold up your content.
Safe to add twice
If a page ends up with two copies of the script, the second does nothing.
Remove it any time
Delete the script to remove the assistant, or remove a domain in Groundly to stop it running there straight away.
Installing Groundly.
Something else on your mind? Email hello@groundly-ai.com and we’ll answer.
Start freeDo we need a developer?
No. If you can paste text into your website builder’s footer or custom code setting, you can install Groundly. A developer can add it to a custom site in a minute.
Does the assistant work on every page?
It appears on every page that has the script, as long as the page’s domain is one of the website’s domains in Groundly. It answers only from the pages you choose in Knowledge.
We have several websites. Do we use one script?
No. Each website gets its own script and website key, its own plan, and its own knowledge, conversations and analytics.
The 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.