<script src="https://agents.findbusiness.ai/widget.js" defer></script>
The widget asks our relay who it is on your domain and themes itself with your name, greeting, and colors. That is why there is no key in the tag: we recognize your site by its address. It follows that the tag only works on the domain we set your AI agent up for. Paste it somewhere else and nothing appears.
Before you paste. Your AI agent has to exist first. If you have not set one up, build a free demo to see it working on your site, or create an account to make it permanent. Once it is live, this tag is the whole integration.
Find your platform
Every platform calls it something different: custom code, code injection, footer scripts. They all mean the same thing. You want the box that injects code before the closing body tag, on every page.
Webflow
- Open your project, then Site settings and the Custom code tab.
- Paste the tag into the Footer code box (the one labelled "before </body> tag").
- Save, then Publish your site. Custom code only runs on the published site, never in the Designer canvas or a preview.
Custom code needs a paid Site plan. On the free webflow.io staging domain the tag will load but your AI agent will not answer, because it is registered to your real domain.
Squarespace
- Go to Settings, then Advanced, then Code injection.
- Paste the tag into the Footer box.
- Save.
Code injection requires a Business plan or higher. It does not run inside the editor preview, so check it on your live site.
WordPress
Easiest, no code: install a header and footer scripts plugin (WPCode and "Insert Headers and Footers" are the common ones), open its settings, paste the tag into the Footer or Body box, and save.
If you manage your own theme: add the tag to your child theme's
footer.php, immediately before </body>. Use a child theme, or
the next theme update overwrites it. Cleanest is to enqueue it from your child theme's
functions.php:
add_action('wp_enqueue_scripts', function () {
wp_enqueue_script(
'fb-agent',
'https://agents.findbusiness.ai/widget.js',
[], null, true // true = load in the footer
);
});
On WordPress.com, custom code needs a Business plan or higher. Self hosted WordPress has no such limit. If you use a caching plugin, purge the cache afterwards.
Wix
- In your dashboard, go to Settings, then Custom code (under Advanced).
- Click Add custom code and paste the tag.
- Under "Add code to pages", choose All pages, and load it once.
- Under "Place code in", choose Body - end.
- Apply, then publish.
Wix only runs custom code on a site with a Premium plan and a connected domain. It will not run on a free wixsite.com address.
Shopify
- From admin, go to Online store, then Themes.
- On your current theme, open the ... menu and choose Edit code.
- Open
layout/theme.liquid. - Paste the tag immediately before the closing
</body>tag. - Save.
Duplicate your theme first if you want a rollback point. On Shopify Plus with a checkout extension, note this covers your storefront, not the checkout pages.
Duda
- Open the site in the editor and go to Settings, then Head HTML (some accounts show this as Site wide custom code or Body end HTML).
- Paste the tag. If your account offers a body end box, prefer that one; our tag uses
defer, so the head is fine too. - Save, then Republish the site.
Alternatively drop an HTML / embed widget into the footer area so it appears on every page. Republish after either route: Duda does not serve custom code until you do.
Framer
- Open Project settings, then General, and find Custom code.
- Paste the tag into End of <body> tag.
- Publish.
Custom code requires a paid plan and only runs on the published site.
GoDaddy Website Builder
- Edit your site and add a section.
- Choose the HTML (custom code) section and paste the tag into it.
- Put that section in your footer area so it is on every page, then publish.
GoDaddy's builder has no site wide code injection on most plans, so the HTML section is the route. It has to be on each page that should show your AI agent, or in a footer that repeats across pages. If you cannot find the HTML section, your plan may not include it.
Weebly and Square Online
- Go to Settings, then SEO.
- Paste the tag into the Footer code box.
- Save and publish.
Plain HTML, or anything else
Paste the tag immediately before </body> on every page. If your site shares
a layout, header, or footer include, put it there once:
<script src="https://agents.findbusiness.ai/widget.js" defer></script>
</body>
</html>
It works the same in any framework. In Next.js use the Script component with
strategy="afterInteractive"; in Astro, Nuxt, or a template engine, put it in your
base layout.
Google Sites will not work. It strips custom JavaScript, so there is nowhere for the tag to run. The same is true of any host that blocks third party scripts. If that is your situation, talk to us; a small site on a platform that does support it is part of what we do.
Make it yours
You should not need any of this. Branding is served to the widget automatically, and the client portal is where you change your AI agent's name, greeting, colors, logo, and instructions, with a live preview and no redeploy.
If you would rather pin something in the page itself, any data- attribute on the tag
overrides what the server sends:
<script src="https://agents.findbusiness.ai/widget.js"
data-title="Ask us anything"
data-accent="#0A2540"
data-position="left"
defer></script>
The useful ones: data-title, data-subtitle, data-greeting,
data-logo, data-accent, data-on-accent,
data-scheme (light or dark), data-position
(right or left), and data-placeholder.
It is not showing up
- Did you publish? Most builders do not run custom code in the editor or preview. Check the live site.
- Are you on the right domain? Your AI agent is registered to one site. On a staging address it will not answer.
- Is it in the footer, on all pages? A tag on one page only shows there.
- Does your plan allow custom code? Webflow, Squarespace, Wix, and Framer all gate it behind a paid tier.
- Caching. Purge your site's cache and hard reload.
- Still nothing? Open your browser console and look for an error mentioning
widget.js, then send it to admin@dependableaisolutions.com.
What your visitors get
A chat launcher in the corner. It answers from your live pages, cites where it got the answer, and tells people to contact you when your site does not cover the question. It links our Privacy Policy and Terms from the panel, so you do not have to host or maintain any legal copy for it.