New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

docusaurus-plugin-asyntai

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docusaurus-plugin-asyntai

Add the Asyntai AI chat assistant to your Docusaurus site. It answers visitor questions from your own documentation.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

docusaurus-plugin-asyntai

Add the Asyntai AI chat assistant to your Docusaurus site. It answers visitor questions from your own documentation, in more than 80 languages.

Install

npm install docusaurus-plugin-asyntai

Then add the plugin in docusaurus.config.js:

module.exports = {
  plugins: [
    ['docusaurus-plugin-asyntai', {widgetId: 'asyntai_1a2b3c4d5e6f'}],
  ],
};

Build the site. The chat bubble is on every page.

Where the widget ID comes from

Open the Install page in your Asyntai dashboard. The widget ID is the value of data-asyntai-id in the snippet shown there. It starts with asyntai_.

Creating an account is free, and the Free plan is enough to try the widget.

Options

OptionTypeDefaultWhat it does
widgetIdstringrequiredYour Asyntai widget ID
enableInDevelopmentbooleantrueSet to false to keep the widget off the site during docusaurus start
scriptUrlstringthe Asyntai CDNAdvanced. Load the widget from another URL

A missing or malformed widgetId stops the build with a message. The plugin never produces a site that silently has no chat on it.

What the plugin does

  • It adds one <script> tag after the body of every generated page.
  • It marks the tag async, so your documentation renders first.
  • It changes nothing else. No React components are wrapped, no CSS is added, and no build output is rewritten.

Answering from your documentation

Asyntai reads your published pages. Add your site URL in the dashboard, and the assistant answers from the same documentation the widget sits on. You can also add extra documents and question and answer pairs.

Privacy

The plugin sends no data on its own. Asyntai receives data only when a visitor opens the chat and writes a message. See the privacy policy.

Removing it

Delete the plugin entry from docusaurus.config.js and build again. The widget is gone.

Support

Email hello@asyntai.com, or read the Docusaurus guide.

Licence

MIT. See LICENSE.

Keywords

docusaurus

FAQs

Package last updated on 22 Aug 2026

Related posts