Website Live Chat Setup
Overview
The Kulpunai live chat widget allows visitors to communicate with your team directly from your website.
Installation
Step 1: Create Website Inbox
- Go to Settings → Inboxes → Add Inbox
- Select Website
- Enter your website URL
- Configure widget settings
Step 2: Copy Widget Code
After creating the inbox, copy the JavaScript snippet provided.
Step 3: Add to Website
Paste the code before the </body> tag of your website:
<script>
(function(d,t) {
var BASE_URL="https://your-kulpunai-url.com";
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=BASE_URL+"/packs/js/sdk.js";
g.defer = true;
g.async = true;
s.parentNode.insertBefore(g,s);
g.onload=function(){
window.kulpunaiSDK.run({
websiteToken: 'YOUR_TOKEN',
baseUrl: BASE_URL
})
}
})(document,"script");
</script>
Widget Customization
In Settings → Inboxes → Widget Settings:
- Widget Color: Match your brand
- Welcome Message: Greet visitors
- Widget Position: Left or right
- Launcher Icon: Customize appearance
- Pre-chat Form: Collect info before chat
Testing
Visit your website and click the chat icon to test the widget.