# Environment Variables

## Web Embed Runtime

- `ZVA_API_KEY`: Virtual Agent API key for campaign SDK script.
- `ZVA_ENV`: Deployment region (`us01` or `eu01`).
- `ZVA_CAMPAIGN_ID`: Optional campaign identifier when switching campaigns programmatically.
- `ZVA_ENTRY_ID`: Optional entry ID path when campaign mode is not used.

## Knowledge Base API Automation

- `ZOOM_ACCOUNT_ID`: Account ID for Server-to-Server OAuth app.
- `ZOOM_CLIENT_ID`: S2S OAuth client ID.
- `ZOOM_CLIENT_SECRET`: S2S OAuth client secret.
- `ZOOM_ACCESS_TOKEN`: Runtime bearer token (short-lived).
- `ZVA_KB_ID`: Knowledge base ID for custom API sync.

## Where to Find Keys

1. Zoom Marketplace app credentials: OAuth app in Marketplace.
2. Virtual Agent campaign/entry settings: Zoom admin portal AI Management.
3. KB ID: Knowledge Base settings in AI Management.
