Configure your Tropicalia integration and deployment
Security: Configure these in your .env file locally and in your Vercel project settings for production. Never expose secret keys client-side.
TROPICALIA_API_KEYsecretTROPICALIA_API_KEY=your_api_key_hereNever commit this to git. Get it at tropicalia.dev.
TROPICALIA_BASE_URLTROPICALIA_BASE_URL=https://api.tropicalia.devBase URL for the Tropicalia API.
NEXT_PUBLIC_APP_URLNEXT_PUBLIC_APP_URL=https://your-app.vercel.appYour deployed app URL — used in embed code generation.
Widget config storage: On Vercel the filesystem is read-only. To persist widget configurations, add a Vercel KV or Upstash Redis database and update src/app/api/widget-config/[projectId]/route.ts.