Integration / WordPress integration
Integration / WordPress integration
WordPress integration
Add the snippet to your theme and connect it with WooCommerce.
Install
- Copy the snippet from the console's Button install > WordPress tab.
- Paste it into your theme's
footer.phpor a custom HTML widget.
If you use WooCommerce, follow the Commerce integration page to connect order lookups too.
footer.php — snippet
<script src="https://lillo-sdk-client.s3.ap-northeast-2.amazonaws.com/lillo-sdk.umd.js"></script>
<script>
window.lilloSDK = window.LilloSDK.init({
host: 'https://api.lillo.cx',
chatAppUrl: 'https://chat.lillo.cx',
clientKey: 'YOUR_CLIENT_KEY'
});
</script>