Choose Your Integration Path
JavaScript Embed Script
Perfect for web developers who want to add a chat widget with custom behavior, event handling, and rich user experiences.
REST API Integration
Ideal for backend developers building custom chat interfaces, mobile apps, or server-to-server integrations.
API v2
The latest API with structured errors, streaming via SSE, and cursor-based pagination.
CLI
Manage agents, sources, conversations, and more from your terminal or CI.
JavaScript Embed Integration
Perfect for web developers who want rich chat functionality with minimal complexity. The JavaScript embed script provides:- Simple Integration: Add to any website with one script tag.
- Advanced Features: Event listeners, custom actions, and custom initial message.
- Identity Verification: Secure user sessions for authenticated apps and contact management.
- Real-time Events: React to user messages and AI responses.
Complete JavaScript Embed Guide
Get the full implementation guide with examples, advanced features, and best practices →
REST API Integration
Ideal for backend developers who need complete control over AI conversations. The REST API provides:- Chat API: Send messages and receive AI responses with streaming support
- Agent Management: Create, update, and configure AI agents programmatically
- Data Access: Retrieve conversations, leads, and analytics
- Webhooks: Real-time notifications for chat events
Complete REST API Guide
Get the full API documentation with examples, authentication, and best practices →
Common Integration Patterns
E-commerce Support Bot
E-commerce Support Bot
Perfect for online stores
- Embed Script: Chat bubble on product pages
- Identity Verification: Logged-in customer context
- Custom Actions: Order lookup, returns processing
- API Integration: Sync with order management system
SaaS Customer Success
SaaS Customer Success
Help users succeed with your product
- Embed Script: Contextual help widget
- Event Listeners: Track user interactions
- Custom Actions: Feature tutorials, account management
Enterprise Knowledge Base
Enterprise Knowledge Base
Internal workspace support system
- API Integration: Custom internal dashboard
- Identity Verification: Employee authentication and identification
- Contacts API: Team directory integration
- Analytics: Usage tracking and insights
