Provision Resend directly from the Stripe Projects CLI and start sending email.
Today, we are announcing Resend's Stripe Projects integration.
Stripe Projects lets you and your AI agents assemble a project's infrastructure from the Stripe CLI. A single command creates a Resend account, generates an API key, and adds it to your environment.
With this integration you can:
When Stripe Projects provisions a Resend account, it uses the email address from your authenticated Stripe account. If that email address already has a Resend account, the CLI will use the team you own and the billing will remain with Resend. If you have more than one team, the CLI will ask you which you want to link.
Before you begin, you'll need:
Install the Projects plugin and initialize within your project:
stripe plugin install projectsstripe projects init
Add Resend as a provider to your project by running:
stripe projects add resend/email
Stripe creates a Resend account, or connects to your existing one, generates an API key, and writes it to your .env file as RESEND_API_KEY.
When you initialize a project, Stripe Projects adds Agent Skills that teach your agent how to use the CLI. You can prompt your agent to add Resend and other providers to your project and it will use the Stripe Projects CLI itself.
Install the Resend SDK for your language, then send with the API key Stripe Projects added to your environment:
// npm install resendimport { Resend } from 'resend';const resend = new Resend(process.env.RESEND_API_KEY);await resend.emails.send({from: 'onboarding@resend.dev',to: ['delivered@resend.dev'],subject: 'Hello from Stripe Projects',html: '<strong>It works!</strong>',});
You can get your agent to do this too; set it up for success with the Resend skill.
You can now:
Open the Resend dashboard from the CLI; you will be automatically signed in.
stripe projects open resend
Rotate your API key (the new one will replace the old one in your .env file).
stripe projects rotate resend/email
Upgrade your plan.
stripe projects upgrade resend/email
Stripe Projects means one less account to create and one less bill to track. It also empowers your agent to provision services like Resend for your application.
Learn more in the Stripe Projects integration docs.