acoustic-book-64157
10/21/2025, 6:59 AMtall-airline-16756
10/21/2025, 6:59 AMtall-airline-16756
10/21/2025, 7:00 AMmyproject.staging.livekit.cloud, while production URLs could be myproject.livekit.cloud.
• Self-Hosted: If you’re self-hosting, consider deploying separate LiveKit instances for each environment. For local development, you can easily start the server in development mode using livekit-server --dev, which uses placeholder API keys and secrets to keep things simple.
• Kubernetes: Using namespace isolation is a smart way to deploy each environment in its own dedicated namespace. You can customize Helm chart values for each deployment to make sure everything is configured just right and resources are properly allocated.
• Environment Variables: Don’t forget to configure environment-specific variables like API keys, secrets, and URLs. For example, you can set LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_URL differently for each environment to keep things secure and organized.
These approaches help ensure your environments stay isolated, secure, and stable. If you’d like, I’m here to walk you through any of these steps in more detail—just let me know!
Sources: lib/getLiveKitURL.test.ts | README.md | Infrastructure & Deployment | livekit/livekit_composite | DeepWiki | Deploying to custom environments | LiveKit Docs | Running LiveKit locally | LiveKit Docsacoustic-book-64157
10/21/2025, 10:43 AMtall-airline-16756
10/21/2025, 10:45 AMagreeable-dream-41746
11/07/2025, 9:33 PMmyproject.staging.livekit.cloud, while production URLs could be myproject.livekit.cloud.tall-airline-16756
11/07/2025, 9:34 PMmy-app-dev, my-app-staging, or my-app-prod. Each project will get its own unique subdomain like https://my-app-dev.livekit.cloud.
3. Generate API Keys: Once inside the project’s settings, generate an API key and secret. Make sure to keep these credentials safe, as they’re unique to each project.
4. Use Environment Variables: It’s a good idea to store these credentials in environment-specific variables. For example, you could add them to a .env file like this:
LIVEKIT_URL=https://my-app-dev.livekit.cloud
LIVEKIT_API_KEY=APIXXX...
LIVEKIT_API_SECRET=SECRETOXXX...
5. Optional - Manage Projects with the LiveKit CLI: If you prefer, you can manage multiple projects using the LiveKit CLI. Here’s how:
lk project add my-project-dev --url https://my-project-dev.livekit.cloud --api-key APIXXX --api-secret SECRETXXX
This approach helps keep your environments nicely separated and secure. If you have any questions or need a hand with anything else, just let me know—I’m here to help!
Sources: LiveKit CLI project management | LiveKit docs | LiveKit CLI Setup | LiveKit Docs | Deploying to custom environments | LiveKit docs | Deploying to custom environments | LiveKit Docs | Mini tutorial: setting up a LiveKit Cloud projectagreeable-dream-41746
11/07/2025, 9:35 PMtall-airline-16756
11/07/2025, 9:36 PMLIVEKIT_API_KEY and LIVEKIT_API_SECRET, which you'll need for authentication.
If you have any questions or need a hand along the way, please don’t hesitate to reach out—I’m here to help!
Sources: Mini tutorial: setting up a LiveKit Cloud project | cmd/lk/cloud.go | LiveKit CLI Setup | LiveKit Docs