Minimal install: start with the one-line embed, or add a small JSON config when you want starter context. The script URL is /embed.js.
1. Most minimal
Just load the widget script. No config block.
<script src="/embed.js"></script>
2. Minimal with context
Add a tiny JSON config, then load the widget script.
<script type="application/json" id="chat-widget-config">
{
"chatbot": {
"title": "Chat",
"instructions": "You are the assistant for Zen Slice, an Asian-style pizza shop in Makati City, Philippines. Be friendly, help with menu questions, suggest best sellers, and guide customers to order."
}
}
</script>
<script src="/embed.js"></script>
Live demo is active on this page. Use the buttons above to switch between the two setups.
More links