Skip to Content
AuraInstallation

Installation

Get started with the Aura Widget by installing it in your project.

Package Installation

Install the Aura Widget package using your preferred package manager:

npm

npm install @insight-health/aura

yarn

yarn add @insight-health/aura

pnpm

pnpm add @insight-health/aura

CDN

Alternatively, you can include the Aura Widget directly via CDN:

<!-- Latest version --> <script src="https://cdn.jsdelivr.net/npm/@insight-health/aura@latest/dist/index.umd.js"></script> <!-- OR --> <!-- Specific version --> <script src="https://cdn.jsdelivr.net/npm/@insight-health/aura@0.0.11/dist/index.umd.js"></script>

When using the CDN, the Aura Widget will be available as the InsightAura global variable.

InsightAura.AuraWidget.init({ partnerKey: '<partner-key-shared-by-insight-health>', // ...other options });

Make sure the script-src directive in your Content Security Policy allows https://cdn.jsdelivr.net.

Next Steps

Once installed, proceed to the Configuration guide to set up the widget in your application.

Last updated on