- React
- JavaScript
- Script Tag
Wrap your app with
MilanaProvider to initialize recording automatically on mount:With options
Deferred initialization
To gate Milana behind a feature flag, use deferred initialization. See the Feature-flagged Rollout guide for a complete walkthrough.Parameters
Your Milana product ID. Find it on your Settings page.
Your Milana client key. Must start with
key_. Find it on your Settings page alongside your product ID.React only. Skip auto-initialization on mount. Call
initialize() from useMilana() later to trigger initialization manually.