<script src="https://your-domain.com/widget-loader.js"></script>
<script>
NortiniaChat.init({
apiKey: 'your-api-key-here',
position: 'bottom-right',
theme: 'light',
primaryColor: '#4f46e5',
title: 'Chat Support',
visitorName: 'John Doe',
visitorEmail: 'john@example.com'
});
</script><script>
window.NortiniaChatConfig = {
apiKey: 'your-api-key-here',
position: 'bottom-right',
theme: 'light',
visitorName: 'John Doe',
visitorEmail: 'john@example.com'
};
</script>
<script src="https://your-domain.com/widget-loader.js"></script>| Option | Type | Default | Description |
|---|---|---|---|
| apiKey | string | required | Your API key for authentication |
| position | string | bottom-right | Widget position: bottom-right or bottom-left |
| theme | string | light | Theme: light or dark |
| primaryColor | string | #4f46e5 | Primary color in hex format |
| title | string | AI Chat Support | Widget header title |
| visitorName | string | optional | Visitor's name for authenticated users |
| visitorEmail | string | optional | Visitor's email for authenticated users |
Note: The widget is loaded in this page. Look for the chat icon in the bottom-right corner!