Use a Public Experience
Step-by-step guide for public embeds.
Prerequisites
- A Liforma experience marked as public
- Your site's origin added to the experience allowlist
- An
experienceId(e.g.exp_…)
Steps
- Install the SDK —
npm install @liforma/clientor load the CDN script - Add the component — pass your
experienceId - Deploy — ensure your production origin is allowlisted
- Test — open your page, grant microphone permission, speak
Checklist
- Component has a sized container
- Page is served over HTTPS in production
- Origin matches allowlist exactly (scheme + host + port)
- Browser supports Web Speech API for voice input
Troubleshooting
If the experience fails to start, check the browser console. Common issues: origin not allowlisted (403), experience not public, or microphone permission denied.
See Errors for HTTP status codes.