Please add this code to the <BODY> tag for creating a button in your website for the freshchat widget.


<button onclick="window.fcWidget.open();window.fcWidget.show();">Chat with us</button>
<script>
window.fcWidget.init({
token: "99198db8-ea46-4f69-a106-4fd0076835b4",
host: "https://wchat.freshchat.com"
});
window.fcWidget.hide();
</script>