Integrate Your Way

Four methods. Any platform. Under a minute.

Chat Widget

One script tag, zero backend code. Your AI agent appears as a floating chat bubble on any website. Persistent sessions, image uploads, and real-time streaming included.

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

REST API

Full CRUD operations, streaming responses, scoped API keys. Send messages, manage agents, retrieve conversations — standard HTTP calls.

curl -X POST https://caizabot.com/v1/agents/AGT_ID/chat \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"message": "Hello!"}'

Webhooks

Get notified in real-time. Events: conversation.created, message.created, lead.captured, goal.completed. Signed payloads with HMAC verification.

POST events to your URL with JSON payload + X-Caiza-Signature header

WebSocket

Real-time streaming for chat. WebSocket channels for bidirectional communication. Sub-second latency.

ws://caizabot.com/ws/chat/AGENT_ID?token=YOUR_TOKEN

Works on Every Platform

WordPress

Paste in Appearance → Theme Editor → header.php, or use a 'Header Scripts' plugin

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

Shopify

Go to Online Store → Themes → Edit Code → theme.liquid, paste before </body>

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

Wix

Settings → Custom Code → Add Code → Body End

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

Squarespace

Settings → Advanced → Code Injection → Footer

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

Custom HTML

Add the script tag before </body> in your HTML

<script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID"></script>

React / Next.js

Add to _app.tsx or root layout component via next/script

import Script from 'next/script'; export default function Layout({ children }) { return ( <> {children} <Script src="https://caizabot.com/widget.js" data-agent-id="YOUR_AGENT_ID" /> </> ); }

Ready to Integrate?

Get Your API Key