← All platforms

Install FoxChat on Any HTML Site

One snippet, pasted before </body>. Works on any site, any host.

FoxChat adds an AI chat bubble named the FoxChat AI Operator (you name it yourself) to your site. Your AI operator reads your published pages and answers visitor questions automatically. This is the universal install: if you can edit your site's HTML — whether it is a hand-built static site, a templated framework, or a shared layout file — you can add your AI operator with a single line. The snippet uses defer, so it loads after your page renders and never slows it down. Add it once in a shared layout and it appears on every page.

1Copy your FoxChat snippet
<script src="https://getfoxchat.com/widget.js" data-site="YOUR_SITE_ID" defer></script>

Replace YOUR_SITE_ID with the ID from your FoxChat dashboard.

2Open your HTML

Open your site's main HTML file in a code editor. If your site uses a shared layout, header, or include file (one template that wraps every page), open that instead — editing it once covers the whole site.

3Paste before </body>

Paste the snippet on its own line just before the closing </body> tag. Putting it at the end of the body is what lets it load without blocking your content.

4Save and deploy

Save the file and upload or deploy it the way you normally do. Open your live site in a fresh tab and your AI operator bubble appears in the corner within a second or two.

Troubleshooting

Widget not showing?

Open the browser console (F12) and look for errors. Make sure the snippet is inside the body, the site ID is correct, and that your latest changes actually deployed. Clear any CDN or browser cache and hard-reload.

Widget covering content?

Move the bubble to the opposite corner from your FoxChat dashboard — no code change needed.

Want to remove FoxChat?

Delete the snippet line from your HTML (or shared layout) and redeploy.

Ready to add your AI operator to your site?

Start free

Compare plans on the pricing page.