The LangSmith Helm chart provides two ways to inject environment variables into services:Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-docsdo-1779981383-3e8c739.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
commonEnv and extraEnv. Understanding the difference between them helps you configure your deployment correctly and avoid runtime errors.
commonEnv
commonEnv is a top-level field in values.yaml that applies to all deployments and statefulsets except the playground and aceBackend services, which are sandboxed and do not receive commonEnv values.
Use commonEnv when a variable must be available to most services simultaneously, such as custom CA certificate paths, proxy settings, or feature flags that affect the entire platform.
Services that receive commonEnv
The following services receivecommonEnv:
backendplatformBackendqueueingestQueuefrontendhostBackend
Services that do not receive commonEnv
The following services are sandboxed and do not receivecommonEnv:
playgroundaceBackend
extraEnv directly:
extraEnv
extraEnv is a per-service field that adds environment variables to a specific service only. Each service that supports extraEnv exposes it under <service>.deployment.extraEnv.
Use extraEnv when a variable applies to one service only, or when you need to set a variable on playground or aceBackend that commonEnv does not reach.
No duplicate variable names
The chart uses adetectDuplicates helper to validate environment variable names for each service. If the same variable name appears more than once in the combined list of variables for a service (including those added from commonEnv, extraEnv, and chart-managed variables), Helm fails during template rendering with an error like:
commonEnv or the service’s extraEnv so each variable name appears exactly once per service.
Example: set a variable on most services but override it on one
To use a common value for most services while overriding it for a specific service, set it incommonEnv and add the override to that service’s extraEnv. Because playground and aceBackend do not receive commonEnv, you must always set variables for those services through their own extraEnv.
Related pages
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

