The Javascript SDK is an easy way to install our chat widget.

If you already have an account, get the javascript code here.

Copy and paste this code snippet before the tag on every page you want the chat widget to appear on your website.

<!-- Start of Glassix Chat Widget -->
    <script>
    var widgetOptions = {
         apiKey: "your-api-key",
         snippetId: "your-snipppet-id"
    };
    
    (function(n){var u=function(){GlassixWidgetClient&&typeof GlassixWidgetClient=="function"?(window.widgetClient=new GlassixWidgetClient(n),widgetClient.attach(),window.glassixWidgetScriptLoaded&&window.glassixWidgetScriptLoaded()):f()},f=function(){r.src="https://cdn.glassix.net/clients/widget.1.2.min.js";r.onload=u;document.body.removeChild(t);i.parentNode.insertBefore(r,i)},i=document.getElementsByTagName("script")[0],t=document.createElement("script"),r;(t.async=!0,t.type="text/javascript",t.crossorigin="anonymous",t.id="glassix-widget-script",r=t.cloneNode(),t.onload=u,t.src="https://cdn.glassix.com/clients/widget.1.2.min.js",!document.getElementById(t.id)&&document.body)&&(i.parentNode.insertBefore(t,i),t.onerror=f)})(widgetOptions)
    </script>
<!-- End of Glassix Chat Widget -->

Already know the identity of who is on the website?