Install guide: Docusaurus

Add GetFoxChat to your Docusaurus site

In docusaurus.config.js, as an object in the top-level scripts array, which Docusaurus adds to the head of every page. The line loads the GetFoxChat chat bubble on every page, and the operator behind it answers your visitors from your own public pages.

Before you start: Access to the site's code and a rebuild and redeploy.

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,
    },
  ],
};

Add GetFoxChat to Docusaurus, step by step

  1. 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.
  2. Open docusaurus.config.js in the root of your site. source
  3. Add a scripts array to the exported config (or extend the one you have). source
  4. 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
  5. Rebuild and redeploy the site.
  6. 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

Removing 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.

Find out what your visitors can't find

See the 5 questions your visitors are likely to ask that your pages don't clearly answer. Free, no account needed.

The chat starts as Foxy. Rename it and change the avatar anytime. Plans and what each includes: pricing.