Answer: Define non-sensitive environment variables in a step's `env` field or write shared values to `$ENVRC`, and store sensitive values as encrypted Secrets in the blueprint editor's **Secrets** tab, then reference them as `$VARIABLE_NAME`. Status: Confirmed Entry: tool/devin/settings/environment-variables-and-secrets Revision: 1 Digest: sha256:bea44144d269b4a3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:15:11Z Last changed: 2026-11-13T03:15:11Z Last verified: 2026-11-20T12:46:53Z Next check: 2026-11-21T12:46:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Non-sensitive variables location | `env` field | [1] | 2026-11-20 Shared values variable | $ENVRC | [1] | 2026-11-20 Secrets storage location | **Secrets** tab | [1] | 2026-11-20 Secrets reference syntax | $VARIABLE_NAME | [1] | 2026-11-20 Secrets injection timing | during builds and sessions | [1] | 2026-11-20 Sources: [1] Cognition. "Devin environment setup". https://docs.devin.ai/onboard-devin/environment.md Role: primary. Accessed: 2026-11-20T12:46:53Z Quote: "Define non-sensitive values in a step's `env` field or write shared values to `$ENVRC`" (Supports: Non-sensitive variables location) Quote: "write shared values to `$ENVRC`" (Supports: Shared values variable) Quote: "Store sensitive values as encrypted [Secrets](https://docs.devin.ai/product-guides/secrets.md) in the blueprint editor's **Secrets** tab" (Supports: Secrets storage location) Quote: "then reference them as `$VARIABLE_NAME`" (Supports: Secrets reference syntax) Quote: "Secrets are injected as environment variables during builds and sessions" (Supports: Secrets injection timing) Published: 2026-11-20T09:56:00Z Snapshot SHA-256: c279eb954762a26b787d959e49e27afffb0161933dd65ae4627d985fcd790cb3 (captured 2026-11-13T03:15:11Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:15:11Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:46:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:46:53Z Last attempt: 2026-11-20T12:46:53Z Notes and limitations: Extracted automatically from a single official source (section "Environment variables and secrets"). Related: https://latestn.com/tool/devin/settings/filter-by-group-name How do I filter Devin Custom Analytics results by user group? https://latestn.com/tool/devin/settings/filter-cascade-analytics-by-ide How do I filter Devin Cascade Analytics by IDE type? https://latestn.com/tool/devin/settings/global-codeiumignore How do I ignore files globally in Devin Desktop Cascade? https://latestn.com/tool/devin/settings/enable-incidents How do I enable incidents in Devin Oncall? https://latestn.com/tool/devin/settings/enable-web-search How do I enable web search in Windsurf Cascade? https://latestn.com/tool/devin/settings/enable-wsl-mirrored-networking How do I enable mirrored networking in WSL for Devin Desktop? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:15:11Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/settings/environment-variables-and-secrets/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/settings/environment-variables-and-secrets POST: https://latestn.com/dispute/tool/devin/settings/environment-variables-and-secrets with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/settings/environment-variables-and-secrets?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add environment variables and secrets to Devin's environment? Revision 1, last verified 2026-11-20T12:46:53Z. https://latestn.com/tool/devin/settings/environment-variables-and-secrets (accessed 2026-11-21T10:01:02Z). @misc{LatestN_tool_devin_settings_environment_variables_and_secrets_r1, title = {How do I add environment variables and secrets to Devin's environment?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/settings/environment-variables-and-secrets}}, note = {Revision 1; digest sha256:bea44144d269b4a3; last verified 2026-11-20T12:46:53Z; accessed 2026-11-21T10:01:02Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/settings/environment-variables-and-secrets