creamy-tiger-14805
09/08/2025, 11:28 AMtall-airline-16756
09/08/2025, 11:28 AMtall-airline-16756
09/08/2025, 11:29 AMlk dispatch command, you can easily do that by using the --project flag. Here’s a quick example:
lk dispatch create --room my-room --agent-name my-agent --project my-project-name
Now, if you'd prefer to set a default project that applies to all your commands (so you don’t have to keep specifying it), just use this:
lk project set-default my-project-name
And if you want to see all your configured projects and check which one is set as the default, just run:
lk project list Sources: cmd/lk/main.go | LiveKit CLI project management | LiveKit Docscreamy-tiger-14805
09/08/2025, 11:35 AMtall-airline-16756
09/08/2025, 11:36 AMlivekit.toml file in your project folder. Inside the [project] section, update the subdomain field so it matches your LiveKit project’s subdomain. It should look something like this:
[project]
subdomain = "qualif-test-sd-pudqlkd0"
1. Double-check that the project you’ve picked in the CLI matches that subdomain. You can run lk project set-default to make sure the right project is set as default.
2. Next, regenerate your agent configuration with lk agent config so it pulls in the correct subdomain from your project.
3. Finally, restart or redeploy your agent to apply these updates.
If you get stuck or want me to walk you through any of these steps, just let me know—I’m here to help!
Sources: Deploying to production | LiveKit Docs | cmd/lk/utils.go | .env.example | complex-agents/drive-thru/frontend/.env.example | client/web/.env.example