```LIVEKIT_API_KEY=<your API Key> LIVEKIT_AP...
# ask-ai
n
Copy code
LIVEKIT_API_KEY=<your API Key>
LIVEKIT_API_SECRET=<your API Secret>
LIVEKIT_URL=<wss://ai-call-agent-51aa4q2g.livekit.cloud>
how can i create these api keys
t
Thanks for reaching out, Mubbashir. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! To help you create API keys in LiveKit, here’s a simple step-by-step guide: 1. First, sign in to LiveKit Cloud. 2. Next, either create a new project or pick one you already have. 3. Head over to the project's Settings page. 4. Look for the option to generate API keys and go ahead and create them. Once you have your keys, you’ll get a
LIVEKIT_API_KEY
and a
LIVEKIT_API_SECRET
. These are super important because they let your backend server authenticate when generating access tokens for participants joining LiveKit rooms. Just a quick heads-up: make sure to keep these keys safe and never expose them in client-side code. If you’re working with a self-hosted LiveKit server for development, no worries! You can use the default placeholder keys: • API Key:
devkey
• API Secret:
secret
Just remember, these default keys are meant for testing only and shouldn’t be used in a production environment. Sources: README.md | Mini tutorial: setting up a LiveKit Cloud project | Generating tokens | LiveKit Docs
n
call agent / Settings / Project Project settings General Set the name that is used to identify your project in the LiveKit Cloud dashboard and the LiveKit CLI. Project name Project ID Pr*oject URL* SIP URI Options Configure options for your LiveKit Cloud project. Rooms and participants Automatically create rooms on participant join Admins can remotely unmute tracks Allow pausing videos when subscribers are congested Dashboard Show onboarding instructions on dashboard Enabled codecs Select which media codecs your project should allow. Opus Audio RED (REDundant encoding) H.264 VP8 VP9 AV1 Connection limits To ensure the stability of our network and to prevent abuse, LiveKit Cloud projects have limitations on the number of concurrent connections. Service may be disrupted when these limits are exceeded. If you anticipate needing more concurrent connections for your project, upgrade to the Scale plan . TypeLimitPeak usage (past 7 days)Concurrent participants1000Concurrent Egress requests20Concurrent Ingress requests20Concurrent cloud agent sessions50 Danger zone Irreversible and destructive actions Delete project Deleting a project will remove all data associated with it, and can't be undone. Please be certain before you proceed. there are no such options now
t
It looks like you’re having trouble finding the option to generate API keys in your project settings. No worries, I’m here to help! Could you please let me know if you’re working with a LiveKit Cloud-hosted project or a self-hosted LiveKit server? Also, are you signed in with an account that has admin permissions for the project? This info will help me guide you better.
n
cloud hosted
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!