Channels

Website widget

One line of code for any website.

Create a publishable key under Developers → API keys (lock it to your domain), then paste this before </body>:

<script src="https://aiagent1.skotechlabs.com/widget.js" data-key="pk_live_your_key" async></script>

It works on WordPress, Shopify, Wix, Laravel, plain HTML — anywhere you can add a script. Colours, title, welcome message and suggested questions come from Channels → Website widget, so you can change them without touching your site.

To protect your credits, one visitor can send a limited number of messages a day (50 by default). After that the widget shows your offline message instead of calling the AI.

JavaScript API

window.SKOAI.open();                    // open the chat
window.SKOAI.close();
window.SKOAI.identify({ name: "Rahim", phone: "01700000000" });

When a team member takes over from the inbox, their replies appear in the widget automatically.