Please add your widget token in this code and use it in agency settings:


<script src="https://wchat.freshchat.com/js/widget.js"></script>
<script>
  function initFreshChat() {
    window.fcWidget.init({
      token: "PASTE YOUR TOKEN HERE",
      host: "https://wchat.freshchat.com",
    });
  }
  function initialize(i, t) {
    var e;
    i.getElementById(t)
      ? initFreshChat()
      : (((e = i.createElement("script")).id = t),
        (e.async = !0),
        (e.src = "https://wchat.freshchat.com/js/widget.js"),
        (e.onload = initFreshChat),
        i.head.appendChild(e));
  }
  function initiateCall() {
    initialize(document, "freshchat-js-sdk");
  }
  window.addEventListener
    ? window.addEventListener("load", initiateCall, !1)
    : window.attachEvent("load", initiateCall, !1);
</script>
<script>
  var event = new Event("load");
  window.dispatchEvent(event);
</script>