> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blackbox.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe integration

Builder now offers direct integration with Stripe, enabling you to easily add payment processing capabilities to your applications. All payments and processing are securely handled by Stripe, which is seamlessly integrated into your application.

<img src="https://mintcdn.com/blackboxai-3b9e98f8/ltKzjVqhiEpUDe3Y/images/builder/builder_stripe_checkout.png?fit=max&auto=format&n=ltKzjVqhiEpUDe3Y&q=85&s=46c65bee4ad492646b8664f378ae38e7" alt="Strpie Example" width="3070" height="2102" data-path="images/builder/builder_stripe_checkout.png" />

## Key Features

* **Seamless Payment Processing**\
  Integrate Stripe's powerful payment platform directly within your Builder-built apps to handle in-app purchases effortlessly.

* **Secure and Compliant**\
  All payment handling, security, and compliance requirements are fully managed by Stripe, ensuring a safe and reliable transaction experience.

* **Simplified Monetization**\
  Easily monetize your applications by enabling users to make purchases without leaving your app environment.

* **Flexible and Scalable**\
  Leverage Stripe's extensive features and scalability to support your app's growth and evolving payment needs.

## How It Works

When you build and deploy your app with Builder, you can now ask the agent to add Stripe integration to manage all aspects of in-app purchases. Stripe handles payment processing, subscription management, fraud prevention, and compliance, allowing you to focus on building great user experiences.

## Getting Started

To add Stripe integration to your app:

1. Simply ask the agent to include the Stripe payment requirement in your .

<img src="https://mintcdn.com/blackboxai-3b9e98f8/ltKzjVqhiEpUDe3Y/images/builder/builder_stripe_integration.png?fit=max&auto=format&n=ltKzjVqhiEpUDe3Y&q=85&s=0f4d91d9cd92357ff4f95beb6eee6cdc" alt="Stripe integration" width="3098" height="2106" data-path="images/builder/builder_stripe_integration.png" />

2. The agent will prompt you to provide credentials. You must have the following Stripe credentials:

   * **STRIPE\_SECRET\_KEY**\
     Go to: Stripe Dashboard → Developers → API keys\
     Copy your "Secret key" (starts with `sk_test_` or `sk_live_`)\
     Keep this confidential - it's for server-side only

   * **NEXT\_PUBLIC\_STRIPE\_PUBLISHABLE\_KEY**\
     Same location as above (Developers → API keys)\
     Copy your "Publishable key" (starts with `pk_test_` or `pk_live_`)\
     This one is safe for client-side use

3. Use Builder's natural language interface to define purchase flows and pricing.

4. Deploy your app with integrated payment capabilities.

That's it you now have an app with payment capabilities integrated right into it via stripe.
