A Supabase project connected to your Bolt account. Refer to Supabase for guidance.
User authentication set up in your project.
A Stripe account (individual or business).
Stripe integration requires Supabase edge functions and doesn’t work with Firebase. Existing custom Stripe implementations cannot migrate to this built-in integration but will continue to function.
Ensure your project has user authentication configured. If not, prompt Bolt to set up user authentication first.
In your Bolt project, select Integrations > Stripe.
Bolt guides you through the integration setup process:
When prompted to by Bolt, click Add Stripe API Key.
Paste your test key into the modal.
Click Retrieve my products.
Select the products you want to use in your Bolt application.
Click Apply selection. Bolt imports your Stripe products, and automatically creates the Supabase edge functions to handle:
Secure checkout session creation
Payment webhook processing
Subscription management
Bolt prompts you to apply the changes to Supabase. Click Apply changes.
Always use Stripe’s test environment during development. Use test card numbers to simulate payments. Never use real payment details in test mode.
Bolt automatically handles webhook endpoint registration and signature verification. You don’t need to manually configure webhook endpoints in your Stripe dashboard.