Skip to main content

Quick Installation

Embed the ... widget on every page of your website.

Step 1: Get the installation code

Sign in to the ..., then go to Settings > Installation > Website Code and copy the installation snippet.

An example is shown below:

<!-- Start of ... code -->
<script>
window.TWTChatWidget = window.TWTChatWidget || {
_q: [],
on: function () {
this._q.push(["on", Array.prototype.slice.call(arguments)]);
},
};

window.__twt = {
appid: "YOUR_APPID",
};

(function (n, t) {
var e = {
init: function () {
var n = t.createElement("script");
n.async = !0;
n.type = "text/javascript";
n.src = ".../install/core.js?version=v1.2";
t.head.appendChild(n);
},
};
e.init();
})(window, document);
</script>
<!-- End of ... code -->

Step 2: Paste it into your web page

Paste the copied website code before the closing </body> tag on every page where you want the widget to appear.

Step 3: Verify

Refresh the page. You should see the chat launcher in the lower-right corner. Click it to start a conversation.

Need an account?

... to get your website code and finish the setup.