# Fleet ID as a standard env variable

**URL:** <https://forums.balena.io/t/fleet-id-as-a-standard-env-variable/370559>\
**Category:** Product support\
**Created:** [May 23, 2024, 1:41pm UTC](https://forums.balena.io/t/fleet-id-as-a-standard-env-variable/370559 "2024-05-23T13:41:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamiear](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jamiear](https://forums.balena.io/u/jamiear)\
**Post date:** [May 23, 2024, 1:41pm UTC](https://forums.balena.io/t/fleet-id-as-a-standard-env-variable/370559/1 "2024-05-23T13:41:05Z")

</div>

Hi folks! Maybe I am being silly, so happy to be corrected, but I can’t seem to access the Balena Fleet ID (or as its called in the documentation “APP\_ID”) from within a container. Would it be possible to add this as a standard fleet environment variable just as the device unique ID is a standard environment variable for variable for all devices?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![myarmolinsky](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@myarmolinsky](https://forums.balena.io/u/myarmolinsky)\
**Post date:** [May 23, 2024, 3:14pm UTC](https://forums.balena.io/t/fleet-id-as-a-standard-env-variable/370559/2 "2024-05-23T15:14:02Z")

</div>

Hi, ordinarily we try prefer using the fleet slug for unique identification, rather than the fleet id. Would you mind sharing what you are trying to do from within the container and why the slug is insufficient?
