Configuration
Coming Soon
This documentation is currently being written. Check back soon!
Overview
Complete reference for all configuration options.
Configuration Schema
interface ChatBoxConfig {
// Required
apiKey: string;
// Widget Behavior
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
autoOpen?: boolean;
flowId?: string;
// Theming
theme?: {
primaryColor?: string;
fontFamily?: string;
borderRadius?: string;
mode?: 'light' | 'dark' | 'auto';
};
// Context
context?: Record<string, any>;
// Advanced
debug?: boolean;
locale?: string;
}