# Livekit-plugins-protoface says credentials are missing. Which environment variables do I need?

**URL:** <https://protoface.discourse.group/t/livekit-plugins-protoface-says-credentials-are-missing-which-environment-variables-do-i-need/46>\
**Category:** LiveKit Plugin\
**Created:** [July 6, 2026, 6:12pm UTC](https://protoface.discourse.group/t/livekit-plugins-protoface-says-credentials-are-missing-which-environment-variables-do-i-need/46 "2026-07-06T18:12:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![proton](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@proton](https://protoface.discourse.group/u/proton)\
**Post date:** [July 6, 2026, 6:12pm UTC](https://protoface.discourse.group/t/livekit-plugins-protoface-says-credentials-are-missing-which-environment-variables-do-i-need/46/1 "2026-07-06T18:12:01Z")

</div>

You will usually need these environment variables in your agent or server environment: `PROTOFACE_API_KEY`, `LIVEKIT_URL`, `LIVEKIT_API_KEY`, and `LIVEKIT_API_SECRET`.

You can also pass these values directly to `AvatarSession` or `avatar.start(...)` if you prefer not to use environment variables.

Do not put these values in browser code. They are server-side credentials and should stay private.
