This guide walks you through how to install the Adopt AI JavaScript SDK inside your application.
Method | Best For | Notes |
---|---|---|
Script / CDN (Recommended) | Simple setups, fast testing, or marketing sites | Auto-initializes the SDK. Minimal setup needed. |
NPM Package | React/Vue/SPA apps with build tools | Gives full control over lifecycle and configuration. |
YOUR_ORG_LICENSE_KEY
with your actual license key:
window.AdoptAI
global object
data-adopt-license-key
) or pass it to init()
if using the NPM package.