Add the Adopt JS SDK to your application to initialize the Copilot experience. This one-time setup allows your app to securely load the right UI, theme, and targeting rules—all dynamically managed from the Adopt platform.
The Adopt AI JavaScript SDK allows you to embed the Agent Experience directly into your web application. It connects the agents you’ve built in the Agent Builder to your live product environment—enabling real users to interact with your Copilot in production.This SDK powers everything from rendering the UI to personalizing responses and executing actions securely in the right user context.
Before you deploy the Agent Experience to end users, you need to install the SDK in your web app. The SDK handles:
Initializing the Copilot with your org’s configuration
Displaying the Sidebar or Spotlight (or both)
Targeting users based on properties or rules
Securing API communication through headers and tokens
Supporting complex environments like SPAs or apps with CSPs
Whether you’re deploying on a simple marketing site or a multi-user SaaS platform, the SDK gives you the flexibility and control to make the Copilot feel like a native part of your product.