Introducing Database Traffic Control™: resource budgets for your Postgres query traffic.Learn more
Navigation

Blog|Product

Stripe Projects partnership: Provision PlanetScale Postgres and MySQL databases from the Stripe CLI

By Elom Gomez |

We're excited to announce that PlanetScale is participating as a co-design and launch partner for Stripe Projects, a new developer preview from Stripe that centralizes dev tool provisioning and billing in one place.

What is Stripe Projects?

Stripe Projects is a new way for developers and coding agents to discover, provision, and pay for developer tools all from the Stripe CLI. Instead of jumping between dashboards, entering payment info, and copying credentials across services, everything lives in one centralized workflow.

This fragmented developer workflow has always existed, but AI agents have made the gap much more obvious. The ecosystem has been missing a standard way for provisioning and credential handoff to work reliably across providers. And we're excited to partner with Stripe to close this gap.

With PlanetScale as a launch partner, you can now spin up and pay for fully managed MySQL or Postgres databases directly from your terminal in seconds.

Try it out today

Stripe Projects is currently in developer preview. You can request early access here. Once you're in, follow these instructions to spin up a PlanetScale Postgres or MySQL database:

  1. Install the Stripe CLI
  2. Install the Projects plugin: stripe plugin install projects
  3. Initialize Stripe Projects in your app stripe projects init
  4. Add a PlanetScale database: stripe projects add planetscale/postgresql or stripe projects add planetscale/mysql
  5. Go through the prompts to create your database: database name, cluster size, region, and number of replicas
  6. Within seconds, your PlanetScale Postgres or MySQL database is provisioned without you ever leaving the terminal
  7. Sync your database credentials to your .env file: stripe projects env --sync

Resources and feedback

You can start using PlanetScale with Stripe Projects in the Stripe Marketplace. Or, head to the Stripe Projects documentation to learn more.

We'd love to hear how you're using PlanetScale with Stripe Projects. Join our Discord to let us know or reach out to us on X!