From installation to advanced configuration — all in one place.
Get your chat widget live in under 60 seconds. No developers needed.
</body> tag.Paste this code before the closing </body> tag on any page where you want the chat to appear:
<!-- Janimony Chat Widget -->
<script src="https://cdn.janimony.chat/widget.js"></script>
<script>
JanimonyChat.init({
businessId: 'your_api_key_here'
});
</script>
businessId is your unique API key from your dashboard. Keep it safe — do not share it publicly.
Customise the widget appearance on init:
JanimonyChat.init({
businessId: 'jmc_xxxxx', // Required
primaryColor: '#000000', // Optional
secondaryColor: '#FFFFFF' // Optional
});
| Option | Type | Required | Description |
|---|---|---|---|
businessId | string | Required | Your API key from the dashboard |
primaryColor | string | Optional | Widget header + button colour (default: #000000) |
secondaryColor | string | Optional | Text on primary backgrounds (default: #FFFFFF) |
// Purple theme
JanimonyChat.init({ businessId: 'jmc_xxx', primaryColor: '#667eea' });
// Green theme
JanimonyChat.init({ businessId: 'jmc_xxx', primaryColor: '#10b981' });
// Custom text colour
JanimonyChat.init({ businessId: 'jmc_xxx', primaryColor: '#f59e0b', secondaryColor: '#111827' });
Send a customer message and receive an AI response.
{
"businessId": "jmc_xxxxx",
"sessionId": "sess_123456_abc",
"message": "Hello, I need help",
"mode": "ai"
}
{
"success": true,
"reply": "Hi! How can I help?",
"sessionId": "sess_123456_abc"
}
Request a human agent. Sends an email notification to the business owner (Pro & Pro+ only).
{
"businessId": "jmc_xxxxx",
"sessionId": "sess_123456_abc",
"messages": []
}
Retrieve all messages for a session. Used by the widget to poll for agent replies.
{
"success": true,
"messages": [...],
"agentConnected": false
}
Stuck? We're here to help — pick the fastest channel for you.

Taking you there...