Skip to main content

Install Chatwoot live-chat on Docusaurus website

Chatwoot has an official integration with Docusaurus using the plugin @chatwoot/docusaurus-plugin. This plugin enables Chatwoot live-chat widget in Docusaurus powered websites.

To install the plugin, follow the steps mentioned below.

  1. Add the plugin to your project.
yarn add @chatwoot/docusaurus-plugin

or

npm install @chatwoot/docusaurus-plugin --save
  1. Configure the plugin in docusaurus.config.js
// docusaurus.config.js
module.exports = {
plugins: ["@chatwoot/docusaurus-plugin"],
themeConfig: {
chatwoot: {
websiteToken: "Your website inbox token",
baseURL: "https://app.chatwoot.com", // optional
enableInDevelopment: false, // optional
}
}
};