Get started with ProductEnv in five minutes
This quickstart takes you from an .env file on your computer to values your whole team pulls from one place. You need a ProductEnv account (sign up free) and, for the last step, Node.js 22.12 or newer. Creating your first project starts a free 14-day Business trial, with no payment details.
Updated
Sign in to the dashboard and choose Create Project. Give it a name and, optionally, a name for its first app (it's called Main otherwise). The project starts with three environments: development, staging and production.
Monorepo?
Use one project with one app per package (web, api, admin…). Each app has its own environments, and a Shared app holds the keys they all use. See core concepts.
Open an environment, choose Import .env file, then drop or paste your file. ProductEnv shows which keys are new and which will change before you choose Import secrets. Besides .env files it reads JSON, .NET, Java and Dart config files: see file formats.
On the People page, choose Invite people. Invite teammates to the organization, and give them access to the project with a role: Admin, Member or Guest. See members and roles for what each role can do.
Every teammate runs these commands once in the project's folder. init writes .productenv.json, which you commit, so the next person only needs login and pull:
# In your project's folder (Node.js 22.12 or newer)
npx productenv login # opens the browser to approve this computer
npx productenv init # links the folder: writes .productenv.json
npx productenv pull --env development --output .env
# Or start your app with the values, without writing a file
npx productenv run --env development -- npm run devThe CLI guide covers every command. Prefer an editor? The VS Code extension shows which environments define each key your code reads.
- CI and servers: create a service token for one environment and use the CLI with it.
- GitHub Actions: sync an environment to repository or environment secrets.
- Vercel, Netlify, AWS and others: connect a deploy integration that syncs on every change.
- Production safety: protect the environment so changes need approval.