Universal pattern
- Render
<char-agent publishable-key="pk_live_..."> - If you have user auth, call
connect({ publishableKey, idToken }) - Never pass tokens in HTML attributes
Use
publishableKey for every embed and pass idToken when user identity is available.Guides
React
React and Next.js integration
Vue
Vue and Nuxt integration
Angular
Angular standalone/component patterns
Svelte
Svelte and SvelteKit integration
Solid
Solid and SolidStart integration
HTMX
Partial-update integration
Hotwire
Rails Turbo + Stimulus
Livewire
Laravel Livewire
LiveView
Phoenix LiveView

