Skip to Content
Rendez-vous.ai Dashboard 1.1.0 is released 🎉
Getting StartedEnvironment Variables

Environment Variables

To run the Rendez-vous.ai microservices locally, you must configure environment variables for both the Dashboard and the Core API.

Create a .env file in the root of both the rdv.ai-dashboard and rdv.ai-API repositories (currently no such file is required for rdv.ai-widget).

Dashboard & CMS (rdv.ai-dashboard)

This service manages the database, S3 storage, and core authentication.

VariableDescriptionLocal Dev Example
PAYLOAD_SECRETSecret key used by Payload CMS for cryptographic operations.your-secure-random-string
PAYLOAD_API_KEYAPI key used for internal REST API requests requiring elevated privileges (e.g., retrieving files).your-internal-api-key
POSTGRES_USERPostgreSQL database user.postgres
POSTGRES_PASSWORDPostgreSQL database password.postgres
POSTGRES_DBPostgreSQL database name.rdv_ai
POSTGRES_HOSTHostname of the database.localhost or 127.0.0.1
DATABASE_URLFull connection string for the Postgres DB.postgres://postgres:postgres@localhost:5432/rdv_ai
S3_BUCKETName of the S3/MinIO bucket for media storage.rdv-media
S3_ENDPOINTEndpoint URL for the S3 service.http://localhost:9000 (Local MinIO)
S3_ACCESS_KEYS3 access key.minioadmin
S3_SECRET_KEYS3 secret key.minioadmin
JWT_SECRETSecret used to sign and verify JSON Web Tokens across the stack.your-shared-jwt-secret
RESEND_API_KEYAPI key for Resend to send transactional emails.re_...

Core API (rdv.ai-API)

This service acts as the orchestration brain. Important: The JWT_SECRET and PAYLOAD_API_KEY must perfectly match the values set in the Dashboard’s .env file to ensure secure cross-service communication.

Internal Routing & Auth

VariableDescriptionLocal Dev Example
PORTThe port the Express.js server runs on.3001
PAYLOAD_URLBase URL of the Dashboard (used by GenQL for GraphQL requests).http://localhost:3000 (Note: In production, this uses K8s DNS like http://service.dashboard...)
APOLLO_DASHBOARD_HOSTHost address of the PayloadCMS dashboard.localhost:3000
PAYLOAD_API_KEYAPI key to CRUD the PayloadCMS dashboard.(Must match Dashboard)
JWT_SECRETSecret used to decrypt sensitive information passed from the Dashboard.(Must match Dashboard)
FS_HOSTHostname of the FreeSWITCH instance.your-ngrok-url or localhost (Prod: svc-int.freeswitch...)
FS_PASSWORDPassword for Event Socket / API access to FreeSWITCH.ClueCon

External AI & Telephony Providers

VariableDescriptionExample
GEMINI_API_KEYAPI key for Google’s Gemini LLMs.AIzaSy...
OPENAI_API_KEYAPI key for OpenAI models.sk-...
TWILIO_ACCOUNT_SIDTwilio Account SID for legacy routing or SMS tools.AC...
TWILIO_AUTH_TOKENTwilio Auth Token....

External Tools & Integrations

VariableDescriptionExample
NYLAS_API_KEYAPI key for Nylas (Calendar sync integration)....
NYLAS_API_URIBase URI for the Nylas API.https://api.us.nylas.com
GOOGLE_PLACES_API_KEYAPI key for Google Places (used in location-based tools).AIzaSy...
RESEND_API_KEYAPI key for sending emails via Resend.re_...
PROXY_HOSTIP of a setup proxy used for tools requiring static egress IPs.192.168.x.x
PROXY_PORTPort for the static egress proxy.8080

Local Development Helpers

(Place these in .env.local if you wish to keep them out of standard deployments)

VariableDescriptionExample
NGROK_URLUsed by the npm run ngrok script to start the tunnel seamlessly.your-domain.ngrok-free.app
APOLLO_DEMO_HOST(Deprecated) Legacy host definition.rendez-vous-ai.vercel.app
Last updated on