# Environment variable: definition and example | AppForge

Source: https://appbuilderai.studio/glossary/environment-variable

[AppForge](/)

[Glossary](/glossary) / Environment variable

# Environment variable

**A named setting such as an API key or database address that lives outside the code.**

## Example

Your app reads PAYMENT_KEY from its environment, so the key never appears in the repository.

## In AppForge

When you take AppForge code to a host, secrets belong in environment variables, not in the files.

## Related terms

- [MVP](/glossary/mvp)
- [Responsive layout](/glossary/responsive-layout)

Reviewed 2026-11-23.

AppBuilderAI is [an Elite AI Holdings company](https://eliteaiempire.com/companies)

AppForge / AppBuilderAI, part of Empire Cloud. [A product of Elite AI Holdings](https://eliteaiempire.com/about/). Elite AI Holdings LLC, 2010 El Camino Real #2000, Santa Clara, CA 95050. [Refunds](https://eliteaiempire.com/refund)

For eligible Elite AI subscriptions: Cancel any time. Changed your mind? Email us within 14 days of your first payment for a full refund. [Refund and cancellation policy](https://eliteaiempire.com/refund/)
