Ready to go live?
When you are ready to go live with your Heidi integration, you can follow these steps to ensure your widget is ready for production use.
Once you received a Heidi production key:
- Request a production API key from our Partnership Team. You would need one key for each region you are deploying to
- Update the Authentication endpoint to
https://<region>.api.heidihealth.com/api/v2/ml-scribe/open-api/jwt
- Update the widget URL to:
https://widget.heidihealth.com/widget/heidi.js
- Update the widget configuration to include a deployment region
Heidi is currently available in these following regions:
AU
- Australia and New ZealandUS
- AmericaCA
- CanadaEU
- European UnionUK
- United Kingdom
If you're not sure which region certain countries are linked to, please see the region overview here
Example production implementation
...
<script>
const heidiOptions = {
//...
region: 'US',
//...
onInit: () => {
// ...
},
onReady: () => {
// ...
},
};
(function (s, o) {
const script = document.createElement('script');
script.async = true;
script.src = s;
document.head.append(script);
script.addEventListener('load', () => new Heidi(o));
})('https://widget.heidihealth.com/widget/heidi.js', heidiOptions);
</script>