Add GetFoxChat to your Docusaurus site
As of November 15, 2026, to add GetFoxChat to Docusaurus, in docusaurus.config.js, as an object in the top-level scripts array, which Docusaurus adds to the head of every page (Docusaurus's own guide, September 30, 2026). The video on this page shows GetFoxChat installed, tested and running in 4 minutes (watch it).
Watch it first
▶ Watch how
The line to add
Yours has your own site ID in place of YOUR_SITE_ID.
<script src="https://getfoxchat.com/widget.js" data-site-id="YOUR_SITE_ID" defer></script>
On Docusaurus, this is what goes in docusaurus.config.js:
export default {
// ...your existing config
scripts: [
{
src: 'https://getfoxchat.com/widget.js',
'data-site-id': 'YOUR_SITE_ID',
defer: true,
},
],
};
How do you add GetFoxChat to Docusaurus, step by step?
- In GetFoxChat, open the install step for your site and copy your snippet. It already has your site ID in it. No account yet? Create one free.
- Open docusaurus.config.js in the root of your site. source
- Add a scripts array to the exported config (or extend the one you have). source
- Add an object with src: 'https://getfoxchat.com/widget.js', 'data-site-id': 'YOUR_SITE_ID' and defer: true, and replace YOUR_SITE_ID with your site ID. source
- Rebuild and redeploy the site.
- Back in GetFoxChat, press Check my site. The chat switches on once GetFoxChat finds the snippet on your live pages.
Docusaurus's own guide: Docusaurus docs: docusaurus.config.js scripts. Checked 2026-09-30; if Docusaurus renames a menu, its guide has the current wording.
Docusaurus gotchas
How do you remove it later?
Delete the GetFoxChat object from the scripts array in docusaurus.config.js, then rebuild and redeploy.
Checked against the Docusaurus 3.10 docs.
Watch it take a visitor there
Find out what your visitors can't find
Type your website's address. GetFoxChat reads up to ten of your public pages and shows the GetFoxChat AI Operator answering three questions from them, with the page each answer came from. No account, nothing to install.
Like it? Press Put this on your site in the preview: you get a free account with the site already set up. Plans and what each includes: pricing.