1. Install and initialize
Add the script tag, callZephlo.initialize() with your API key and agent ID, and drop in a <zephlo-fab> element where the floating button should appear.
<zephlo-chat>. Full integration docs →
2. Register a tool
Give the agent an action it can take on your site withregisterTool().
3. Add a form tool
Addzephlo-tool-name and zephlo-tool-description to any existing form — no JavaScript needed.
4. Send page context
Tell the agent where the visitor is so it can give relevant answers.Next steps
Widget integration
Script tag vs npm SDK, configuration, and customization.
Register tools
Full tool API reference with more examples.
Form tools
Form attributes, auto-submit, and dynamic detection.
Page context
Context API, auto page details, and SPA examples.
Proactive triggers
Have the agent reach out to visitors first, with cooldowns.
Theming
Control colors and light/dark mode from the SDK.