By the time you embed the widget, the execution path should already exist: base URL, session headers, tools, and optional knowledge.
What this page does
The Activate Agent page is where you:- choose the environment
- get the widget install snippet
- configure widget appearance and behavior
- write custom instructions
- enable screen autopilot
- turn on signed widget tokens
- set user rate limits
Framework options
Warpy supports a plain script tag and the@warpy-ai/widget package.
Script tag
Local
</body> tag.
Production
Package manager
npm
Usage
What each install field means
| Field | What it controls |
|---|---|
agentId | the Warpy agent the widget should talk to |
baseUrl | the environment base URL used for backend tool execution and widget token refresh |
scriptSrc | where the widget loader script is served from |
baseUrl can be omitted.
Environment tabs
The environment selector swaps the install snippet between your saved base URLs. That is why it is important to definelocal and production first in API config.
The rest of the page
Widget configuration
White-label the widget name, icon, behavior, empty state, suggestions, and copy.
Security and rate limits
Protect the widget with short-lived JWTs and enforce per-user action limits.
Recommended rollout
- Test on
local. - Validate one real backend tool and one real UI action.
- White-label the widget before exposing it to end users.
- Turn on signed widget tokens if your deployment requires it.
- Move to
production.