Free guide, no email required

Provisioning a stack from the Stripe CLI

From zero to a fully provisioned project with credentials in your .env.

Published , updated

The Owner's Guide to AI That Does the Work.

Six levels, each fixing one pain, each with a way to start today. Free.

Read the map

Two commands. Under two minutes.

Install everything

brew install stripe/stripe-cli/stripe && stripe plugin install projects

Then open Claude Code and run:

Claude Code

/stripe-projects

Example prompt

“Create an MVP hosted on Vercel, backed by Supabase for auth and database, PostHog for analytics, Resend for transactional email, and Clerk for user management. Write credentials to .env and scaffold the Next.js app.”

The agent provisions each service, writes all credentials to your .env, and scaffolds the project. You skip the 14-tab signup marathon and go straight to building.

Need the full walkthrough? The step-by-step guide starts below.

What is Stripe Projects

Stripe Projects is a Stripe CLI plugin. It provisions third-party services — hosting, databases, auth, analytics, AI tools — directly from your terminal.

Instead of signing up for each service separately and manually copying API keys, you run one command. Your .env is written automatically. The credentials live in an encrypted local vault, not in plain text.

It solves a real problem: code generation got fast. Provisioning didn’t.

Key properties

  • Resources provision in your own accounts on each provider, not in Stripe's
  • .env is written automatically after each add command
  • .projects/ directory tracks what's provisioned — commit state.json, gitignore vault/
  • Works with agents, CI pipelines, and across teammates

Install the Stripe CLI

You need Stripe CLI version 1.40.0 or higher. Install for your platform:

macOS

brew install stripe/stripe-cli/stripe

Linux (Debian/Ubuntu)

curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | sudo tee /usr/share/keyrings/stripe.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | sudo tee -a /etc/apt/sources.list.d/stripe.list
sudo apt update && sudo apt install stripe

Windows

scoop bucket add stripe https://github.com/stripe/scoop-stripe-cli.git
scoop install stripe

Verify (must be 1.40.0+)

stripe --version

Action steps

  1. Run the install command for your platform
  2. Run stripe --version and confirm 1.40.0+
  3. If upgrading on macOS: brew upgrade stripe/stripe-cli/stripe

Install the Projects Plugin

The plugin adds the projects subcommand to the Stripe CLI. It installs in seconds.

Install

stripe plugin install projects

Verify the install:

Verify

stripe projects --help

Initialize Your Project

Run this from your project directory. If it’s your first time, a browser opens to authenticate with your Stripe account.

Init

stripe projects init --json --yes

What this creates

  • .projects/state.json tracks provisioned services (commit this)
  • .projects/vault/ encrypted credentials (gitignore this)
  • .projects/cache/ local cache (gitignore this)

Add these to your .gitignore:

.gitignore

.projects/cache
.projects/vault
.env

Action steps

  1. cd into your project directory
  2. Run stripe projects init --json --yes
  3. Complete browser auth if prompted
  4. Confirm .projects/state.json exists
  5. Update .gitignore with the three entries above

Browse the Catalog

See everything available:

Catalog

stripe projects catalog --json

Search for a specific provider:

Search

stripe projects search vercel --json
stripe projects search supabase --json

40+ providers as of mid-2026, organized by category:

Hosting
Vercel, Cloudflare, Fly.io, Netlify, Railway, Render
Database
Supabase, Neon, PlanetScale, Turso, Chroma
Auth
Clerk, Auth0/Okta, WorkOS, Privy
AI/ML
OpenRouter, Hugging Face, ElevenLabs, Browserbase, Inngest
Analytics
PostHog, Mixpanel, Amplitude
Observability
Sentry
Comms
AgentMail, Twilio
Cache
Upstash
CI/CD
GitLab
Sandbox
Daytona, Runloop
Search
Algolia, Firecrawl

Add a Service

General syntax:

Syntax

stripe projects add <provider>/<service> --json --yes --config '{"name":"<name>"}'

Vercel project example (note: --accept-tos shares your name, email, country, and phone with Vercel as part of account creation):

Vercel

stripe projects add vercel/project --json --yes --accept-tos --config '{"name":"my-app"}'

After provisioning Vercel, your .env contains:

VERCEL_ORG_ID=team_...
VERCEL_PROJECT_ID=prj_...
VERCEL_TOKEN=vca_...
VERCEL_PROJECT_URL=https://vercel.com/...

Supabase example:

Supabase

stripe projects add supabase/database --json --yes --config '{"name":"my-db","region":"us-east-1"}'

After provisioning Supabase, your .env contains:

SUPABASE_URL=https://...
SUPABASE_ANON_KEY=eyJ...
SUPABASE_SERVICE_ROLE_KEY=eyJ...

Was this useful?

New guides land with you first: one process a business was doing by hand, and what it took to make it stop.

Rather have it done?

I install the system in your business and your team holds the controls. We start with the pain that costs you most. Fixed fee to start; a retainer after, if you want me around.

Work with me

Learn it with me?

The AI Operators Guild: every lesson recorded as it's built, and one member's grind automated live every Wednesday. $29 a month for founding seats, locked while you stay. $59 after.

Get early access

Not sure software can do it? What the night shift leaves for the owner, five things, with where a person stays.