From 951508476c9fc969a9e0195cbcb729832b351a5d Mon Sep 17 00:00:00 2001 From: TvisharajiK Date: Thu, 12 Feb 2026 19:18:24 +0530 Subject: [PATCH] chatbot --- docusaurus.config.js | 5 +++++ static/scripts/chatwoot.js | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 static/scripts/chatwoot.js diff --git a/docusaurus.config.js b/docusaurus.config.js index cec310774..6ba65f272 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -375,6 +375,11 @@ module.exports = { async: true, defer: true, }, + { + src: "/docs/scripts/chatwoot.js", + async: true, + defer: true, + }, /*{ src: "/docs/scripts/chat.js", async: true, diff --git a/static/scripts/chatwoot.js b/static/scripts/chatwoot.js new file mode 100644 index 000000000..dc2702153 --- /dev/null +++ b/static/scripts/chatwoot.js @@ -0,0 +1,13 @@ +(function(d,t) { + var BASE_URL="https://chatwoot.keploy.io"; + var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; + g.src=BASE_URL+"/packs/js/sdk.js"; + g.async = true; + s.parentNode.insertBefore(g,s); + g.onload=function(){ + window.chatwootSDK.run({ + websiteToken: 'DNsHCafpdxqz3dDU1SPggAon', + baseUrl: BASE_URL + }) + } +})(document,"script");