---
schema_version: "1"
id: 81b5472db4e24356680557b9419c12a62b4f7201a43c0a7dd46084d8a1d7b426
title: Add Environment Variables to Your Application
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_b2c_rn_enviornment_variables.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_b2c_rn_enviornment_variables.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f9d3f762a4afdc46899fb04f1d0e2005ca28b3218d247689ab86ea41f160d24a
description: "You can now manage environment variables with the Managed Runtime API. Without making code changes, you can use environment variables to add variables into an application process running in an environment. Environment variables are stored securely, and are ideal for the following use cases:"
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Add Environment Variables to Your Application

You can now manage environment variables with the Managed Runtime API. Without making code changes, you can use environment variables to add variables into an application process running in an environment. Environment variables are stored securely, and are ideal for the following use cases:

- API keys for third-party integrations
- Feature flags for application logic
- Configuration that differs between environments

**How:** Access environment variables in Node.js using[process.env](https://nodejs.org/docs/latest-v18.x/api/process.html#processenv). To manage environment variables via the Managed Runtime API. See [Environment Variables](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/managed-runtime-administration.html#environment-variables).