Skip to content
Product

Getting started with ProductEnv in five minutes

Getting started with ProductEnv takes six steps: sign in with an email link, Google, GitHub or a passkey, create a project, import the .env file you already have, invite your teammates with a role each, then link your repository with the CLI and pull. Every step happens in the dashboard except the last two, which are three commands in your terminal. Creating the first project also starts a free Business trial, so every feature is open while you try it.

Published 7 min read By the ProductEnv team

How do you sign up for ProductEnv?

Open the dashboard and enter your email address. ProductEnv has no passwords, so signing up and signing in are the same screen. Pick one of these:

  • Email me a sign-in link. A one-time link arrives by email. It works once and expires after 15 minutes, and asking for a new one replaces the old one, so always open the newest email.
  • Continue with Google or Continue with GitHub. Uses the account with the same email address.
  • Sign in with a passkey. Available once you have added one in Account settings, and then it signs you in with your fingerprint, face or device PIN.

Look at the Remember me box before you continue. Left unticked, which is the default, you are signed out when the browser closes or after 12 hours without activity. Ticked, you stay signed in on that browser for 30 days from your last visit. Leave it unticked on a shared computer.

The first time, ProductEnv asks for your name and then sets up a personal workspace for you. It is a regular organization that you own, named after your first name with a short random suffix, and you can rename it in Organization settings. If you arrived through an invitation, you join that organization instead and no workspace is created.

How do you create a project and its environments?

Click New Project, give it a name and confirm. A project usually maps to one product or service, such as billing-api or marketing-site, and it starts with three environments: development, staging and production. Owners and admins of the organization can create projects; members can't.

If this is the first project in an organization on the Free plan, it also starts a 14-day Business trial, once per owner account and with no payment details. From December 1, 2026, the first 100 organizations to start a trial get 30 days instead. The trial opens the paid features, such as protected environments and extra apps, so you can judge them with real data.

One project, several apps

If your product has a frontend, a backend and an admin panel, they can live in one project as apps, each with its own environments, and keys they all need can sit once in Shared. That needs the Team or Business plan, which the trial includes. The apps in a project tutorial shows the layout.

How do you import an existing .env file?

Open the development environment of the new project and click Import .env file in the secrets toolbar. Drag and drop your .env file, or open the Paste text tab and paste its content. ProductEnv shows which keys are new and which will update an existing value, and nothing is saved until you confirm the import.

.env
# Local development
DATABASE_URL=postgres://app:app@localhost:5432/billing
REDIS_URL=redis://localhost:6379
STRIPE_SECRET_KEY=sk_test_51Hx0000000000000000
export LOG_LEVEL=debug
SIGNING_KEY="-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASC...
-----END PRIVATE KEY-----"

Comments, export prefixes, quotes and multi-line values like the private key above are handled, and key names are kept exactly as you wrote them. Repeat the import on the staging and production tabs with the values of those environments. On the Team and Business plans the same dialog also reads .NET, Java, Spring and Flutter config files (supported file formats).

Once imported, values stay masked. Reveal one when you need to read it, copy a single KEY=value line in one click, or add and edit secrets one at a time. Each save becomes a version in the secret's history.

How do you give teammates access?

Open People and click Invite people. Type or paste up to 20 email addresses, choose the organization role, and optionally pick projects with a role on each. One invitation carries all of it, and accepting grants everything at once. People who already have an account also get a notification with Accept and Decline.

Built-in ProductEnv project roles by default
RoleWhat it can do by defaultTypical person
OwnerEverythingWhoever runs the organization
AdminAlmost everything, except the credentials vault, the audit log, protected environments and security alertsTech lead
MemberView, edit and compare secrets, create environmentsDeveloper
GuestView and pull secrets, change nothingContractor, designer, QA

Give the smallest role that lets someone work, and raise it later. On paid plans, and during the trial, the organization owner can change what the built-in roles may do in Roles & permissions. The Free plan allows up to 3 people per organization.

How do you pull the secrets into your repository?

The CLI is an npm package called productenv and needs Node.js 22.12 or newer. Run it with npx, or install it once with npm install -g productenv. In the root folder of your repository:

~/code/billing-api
npx productenv login
🌐 Opening your browser to authorize the ProductEnv CLI…
🔐 Logged in successfully as dev@acme.com
npx productenv init
✔ Select an organization acme
✔ Select a project billing-api
✔ Select the default environment development
✅ Created .productenv.json: acme/billing-api (#12), default environment development
npx productenv pull
✅ Pulled 5 secrets from billing-api/development → .env
  • login opens the Authorize ProductEnv CLI screen in your browser. Click Authorize only if you just ran the command yourself. Each computer gets its own CLI sign-in, valid 90 days.
  • init links the folder to the project and writes .productenv.json. It holds no secrets, so commit it: the next teammate only needs login and pull.
  • pull writes .env, readable only by your user, and asks before overwriting an existing file. Add --env staging for another environment.

Keep .env out of git

init and pull warn when .env is not in .gitignore. Add .env and .env.* to .gitignore before your first commit, with !.env.example if you keep an example file.

How do you run the app and share a change?

Start the app as usual; it reads the .env file it always read. If you would rather not keep the file on disk, productenv run starts any command with the secrets in its environment and writes nothing:

Terminal
npx productenv run -- npm run dev
# edit .env, then review the change by key name and upload it
npx productenv push
📦 .env → billing-api/development (merge)
  + SENTRY_DSN
1 added, 0 updated, 0 removed, 5 unchanged
✔ Push these changes to billing-api/development? Yes
✅ Pushed: 1 created, 0 updated, 0 deleted

push never prints values, and its default merge mode only adds and updates keys. Your teammates get the new key on their next pull, and the change appears in the secret's history and the project's audit log. That is the whole loop: change it once, and everyone pulls the same values.

From here, the usual next steps are a service token for CI, a GitHub Actions sync (guide), protecting production, and the VS Code extension. The CLI guide lists every command, and How to use has a short video for each feature.

Frequently asked questions

Does ProductEnv need a credit card to start?

No. The Free plan needs no payment details, and neither does the Business trial that starts with your first project. When the trial ends you choose a plan or move to Free, and your projects and secrets are kept either way.

What if the sign-in email never arrives?

Check spam, junk and promotions folders and search for ProductEnv, then use Resend link on the Check your inbox screen; only the newest link works. Company mail filters sometimes hold outside email, so an IT team may need to allow it. You can also continue with Google or GitHub instead.

Can a teammate pull secrets without the dashboard?

Yes. Once they have accepted the invitation, they run npx productenv login once on their computer and npx productenv pull in a repository where .productenv.json is committed. Their role decides which environments they can read.

Which environment does productenv pull use?

It uses the default environment chosen during productenv init, usually development. Pass --env staging or --env production to pull another one, and --output to write a different file such as .env.staging. Re-running init with another --env changes the folder's default.

Can ProductEnv import files other than .env?

Yes. .env and JSON files import on every plan. On Team and Business, the import also reads .NET appsettings.json, secrets.json and web.config, Java and Spring .properties and application.yml, and Flutter Dart config files, keeping every key name as written.