Configure all required environment variables for Viber
Viber requires several API keys and configuration values to function. This guide explains each environment variable and how to obtain the necessary credentials.
Required for creating and managing sandboxed development environments where generated code runs.
In the source code, this variable is referenced as SANDBOX_API_KEY in some deployment examples, but the actual environment variable name is DAYTONA_API_KEY as defined in src/lib/env/env.server.ts.
The VITE_ELEVENLABS_AGENT_ID variable is a client-side environment variable that gets compiled into the frontend during build. If you change this value, you must rebuild the application.
Required only if you want to enable voice interaction mode. Get your credentials from ElevenLabs.
Useful when the sandbox needs a public origin for image URLs.
When to use IMAGE_CDN_BASE_URL
In development, you can point this to your ngrok or forwarded URL. In production, set it to your public app domain or leave undefined to use relative /images paths.From src/lib/env/env.server.ts:48:
// Image CDN base URL (for LLM-generated image src)// In development, point this to your ngrok/forwarded URL for this app.// In production, set it to your public app domain or leave undefined to use relative /images.IMAGE_CDN_BASE_URL: optionalEnv("IMAGE_CDN_BASE_URL"),