Stripe Projects is currently in developer preview. You can request access to try it out here.
Before you begin
Before you can use PlanetScale with the Stripe CLI, you’ll need:- Access to the developer preview
- A Stripe account
- A PlanetScale account (or Stripe Projects can create one for you)
- The Stripe CLI installed and up to date
- The Projects plugin installed:
Quickstart
Initialize Stripe Projects in your app directory, add a PlanetScale database, and sync credentials to your local environment:.env file will be updated with your PlanetScale database connection string.
Add a database
When you runstripe projects add, you can sign in to your existing PlanetScale account or let Stripe Projects create a new one. You’ll be prompted to configure:
- Database name
- Cluster size
- Region
- Number of replicas
Manage credentials
List your project’s environment variables (values are not shown):.env file:
Check project status
Review your project’s linked providers, provisioned services, and health:Open your PlanetScale dashboard
Remove a database
Non-interactive and agent use
All commands support flags for use in CI/CD pipelines, scripts, and AI agents:
Example — add a database with no prompts:

