Articles on: OneHash Chat | Integration

Install OneHash Chat live-chat on Docusaurus website

Docusaurus


OneHash Chat has an official integration with Docusaurus using the plugin @OneChat/docusaurus-plugin. This plugin enables OneHash Chat 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 @OneChat/docusaurus-plugin

or

npm install @OneChat/docusaurus-plugin --save


  1. Configure the plugin in docusaurus.config.js


// docusaurus.config.js
module.exports = {
plugins: ["@OneChat/docusaurus-plugin"],
themeConfig: {
OneChat: {
websiteToken: "Your website inbox token",
baseURL: "https://app.OneChat.com", // optional
enableInDevelopment: false, // optional
}
}
};

Updated on: 27/09/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!