Embed chart
Embed the household chart in your app with an iframe onembed.withheadlight.com. Your browser sends chart data into the iframe with postMessage. Headlight servers never receive names, trusts, or relationship data.
Quickstart
- Provision an API key with the
embed:chartpermission. - Mint a short-lived token from your server:
- Load a pinned embed version and post
renderafterready. See Embed with React for the React component.
- HTML
- React
/chart/v0.1.0/index.html). Do not load /chart/latest.
Sandbox attribute
Use exactlysandbox="allow-scripts allow-same-origin". Do not add allow-top-navigation or allow-popups.