vercel/next.js / docs / 02-pages / 02-guides / environment-variables.mdx
The React Framework
environment-variables.mdx
title: How to use environment variables in Next.js nav_title: Environment Variables description: Learn to add and access environment variables in your Next.js application. source: app/guides/environment-variables
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the <PagesOnly>Content</PagesOnly> component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.