Basic Embed
Embed Variants
URL Parameters
Visual
User
Behavior
Combined:
Event Handling
Listen for session events:
Payload:
React Example
Responsive Container
Security
Verify origin
Verify origin
Always check
event.origin before processing messages.CSP headers
CSP headers
Content-Security-Policy: frame-src https://app.toughtongueai.com;HTTPS only
HTTPS only
Microphone requires HTTPS (localhost works for dev).
Troubleshooting
Next: REST API →