This article explains how to integrate Freshchat live chat with your Answered.so HelpHub. Users will be able to click a button within the HelpHub to switch to a live chat.
Add a Live chat button to your HelpHub
Please follow the instructions in this article: Add a call-to-action button to your HelpHub.
Install Freshchat (your own website)
If you are installing Answered.so on your own website or web app: Install the Freshchat chat widget into your application as usual, without the Answered.so integration in place. Then follow the steps below.
Add this script to the head
section of your website to hide the Freshchat launcher button:
<script>
const timeInMillis = 50;
const intervalId = setInterval(function() {
// Your condition check here
if (window.fcWidget) {
clearInterval(intervalId); // Stop the interval
window.fcWidget.on("widget:loaded", function(resp) {
window.fcWidget.hide();
});
// window.fcWidget.on("widget:opened", function(resp) {
// console.log('Widget Opened');
// });
} else {
console.log('ping');
}
}, timeInMillis);
</script>
Install Freshchat (Blog or Knowledge base)
If you are installing Answered.so on a blog or knowledge base managed by Answered.so, go to settings and insert your Freshchat Chat full script URL.
This URL can be found in your Freshchat account: