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

# Stripe

> Connect OpenStack to Stripe for seamless payment processing.

OpenStack integrates with [Stripe](https://stripe.com) to provide a robust payment processing solution for your AI services. By connecting your OpenStack project to Stripe, you can easily manage subscriptions (soon), handle usage-based payments, and ensure secure transactions for your users.

## Key Features of Stripe Integration

* **Seamless Payment Processing**: Leverage Stripe's powerful payment infrastructure to handle transactions smoothly.
* **Usage-Based Billing**: Charge users based on their AI model usage, with flexible pricing options.
* **Secure Transactions**: Benefit from Stripe's advanced security features to protect user payment information.
* **Future Subscription Support**: Upcoming features will allow you to manage subscriptions directly through OpenStack.

## Setup

To connect your OpenStack project to Stripe, follow these steps:

<Steps>
  <Step title="Create a Stripe Account">
    Sign up for a Stripe account at [stripe.com](https://stripe.com) if you don't already have one.
  </Step>

  <Step title="Obtain API Keys">
    In your Stripe dashboard, navigate to the Developers section to find your API keys. You'll need to create a new
    "Restricted Ke y" with permissions to checkout and webhooks.
  </Step>

  <Step title="Configure OpenStack">
    In the OpenStack dashboard, go to the Billing section and select "Stripe Integration". Enter your Stripe API keys and
    save the configuration.
  </Step>

  <Step title="You are all set!">
    Once configured, OpenStack will route payment processing through Stripe for your AI services, manage user's balances,
    show paywall when needed, and handle payments. No code changes are required on your end.
  </Step>
</Steps>
