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

# Integrate with Stripe

> Sell the products on your website with conncet Stripe

## 1. What is Stripe?

Stripe is a leading global payment processing platform that provides businesses and individuals with a complete solution for accepting and managing online payments. You can integrate your Stripe account into your e-commerce websites, enabling you to securely process credit cards, digital wallets, and various payment methods from customers worldwide.

Once you've set up Stripe integration, you can start accepting real-time payments on your website so that customers can complete transactions seamlessly. This guide will walk you through the steps to implement Stripe payments on your website.

## 2. Before You Start

This guide will walk you through connecting Stripe to your Readdy project. Before we begin, please make sure you have the following ready:

* An active Stripe account ready for payments.
* Your Readdy project is already connected to **Supabase** (Stripe integration requires Supabase [How to connect Supabase](/integrations/supabase)).

Once these are ready, let’s connect Stripe.

## 3. Access the Stripe Integration

In the Readdy editor, click the **Connects** button at the top of the screen.

<Frame>
  <img src="https://mintcdn.com/readdy/DVR1m5KO54hpjW-t/images/go-to-connects.png?fit=max&auto=format&n=DVR1m5KO54hpjW-t&q=85&s=518b280f4f709d1d7017759adc5242f6" alt="Connects button in the top navigation bar" width="1516" height="904" data-path="images/go-to-connects.png" />
</Frame>

From the Connects panel, find **Stripe** and click **Connect**.

<Frame>
  <img src="https://mintcdn.com/readdy/DVR1m5KO54hpjW-t/images/connects/stripe.png?fit=max&auto=format&n=DVR1m5KO54hpjW-t&q=85&s=589cf0c18a4cd39253ba0365a536cad4" alt="Stripe in the Connects panel" width="2024" height="1720" data-path="images/connects/stripe.png" />
</Frame>

A panel will open where you’ll need to enter your Stripe API key.

> API connection is a one-time setup - you won't need to enter the API again for future use of this feature.

<Frame>
  <img src="https://mintcdn.com/readdy/XM6zx4Mq-XYNJTgS/images/stripe-connect-default.png?fit=max&auto=format&n=XM6zx4Mq-XYNJTgS&q=85&s=5befc6b83e1371e997370345ef70d6c8" alt="" width="2870" height="1792" data-path="images/stripe-connect-default.png" />
</Frame>

## 4. Get Stripe API

Go to [https://www.stripe.com/](https://www.stripe.com/) and log in. Then, in the left menu, click **Developers** and select **API keys**.

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step1.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=01df77286ecb4289be2761a4caf42fe8" alt="" width="3450" height="1758" data-path="images/stripe-step1.png" />
</Frame>

Click **+ Create restricted key**.

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step2.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=e0cfed505c35e713b48b0714cfe13df9" alt="" width="3452" height="1762" data-path="images/stripe-step2.png" />
</Frame>

In the panel, choose **Building your own integration** and click **Continue**.

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step3.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=4c29b83607b9db3f72677db09d870809" alt="" width="3450" height="1760" data-path="images/stripe-step3.png" />
</Frame>

Enter the key name: **STRIPE\_SECRET\_KEY**.

> case-sensitive, use underscores, no spaces

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step4.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=3d969bcf9c2149483da95c57cffb2663" alt="" width="3450" height="1762" data-path="images/stripe-step4.png" />
</Frame>

Assign permissions as follows:

<Tip>
  **For security and proper functionality, strictly follow the permissions below.**

  <table>
    <thead>
      <tr>
        <th width="400"><div align="left"><font color="#929499">Resource Type</font></div></th>
        <th width="400"><div align="left"><font color="#929499">Permissions</font></div></th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td><font color="#1f1f1f"><b>Charges and Refunds</b></font></td>
        <td><font color="#eb6e08"><b>Read</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Customers</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Payment Intents</b></font></td>
        <td><font color="#eb6e08"><b>Read</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Products</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Shipping Rates</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Coupons</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Invoices</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Prices</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Promotion Codes</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Subscriptions</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Tax Rates</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Checkout Sessions</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Orders</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>SKUs</b></font></td>
        <td><font color="#eb6e08"><b>Read</b></font></td>
      </tr>

      <tr>
        <td><font color="#1f1f1f"><b>Webhook Endpoints</b></font></td>
        <td><font color="#155ff3"><b>Write</b></font></td>
      </tr>
    </tbody>
  </table>
</Tip>

After configuring, click **Create key** at the bottom of the page to generate your API key.

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step5.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=a574cf098bbf5ac2ef76909dd0f8a9c3" alt="" width="3452" height="1760" data-path="images/stripe-step5.png" />
</Frame>

Once created, you have got the API key (rk\_live\_...).

<Frame>
  <img src="https://mintcdn.com/readdy/vhWfvcVzcGcX4T8r/images/stripe-step6.png?fit=max&auto=format&n=vhWfvcVzcGcX4T8r&q=85&s=19fafb99f8d1ba797d9e9acb9f0322d3" alt="" width="3450" height="1756" data-path="images/stripe-step6.png" />
</Frame>

**Please save and store this key to a secure place**, such as a password manager or secret store. You won't be able to see it again. Then return to Readdy to proceed with the integration.

## 5. Connect Your Stripe

In the Stripe panel, paste your API key and click **Connect**.

<Frame>
  <img src="https://mintcdn.com/readdy/XM6zx4Mq-XYNJTgS/images/stripe-connect-inputting.png?fit=max&auto=format&n=XM6zx4Mq-XYNJTgS&q=85&s=b9047169cf4dd4d061c109013f5dcfdf" alt="" width="2874" height="1794" data-path="images/stripe-connect-inputting.png" />
</Frame>

Once connected, the panel will close, and Readdy shows that Stripe is connected. You can now describe your payment requirements to the AI.

* Example: Select a product and tell the AI: "Use Stripe to process payment when this product is purchased."
* Tip: For best results, use only Stripe or Shopify per page—mixing them may reduce AI code generation quality.

<Frame>
  <img src="https://mintcdn.com/readdy/XM6zx4Mq-XYNJTgS/images/stripe-connected-chat.png?fit=max&auto=format&n=XM6zx4Mq-XYNJTgS&q=85&s=fbfc88f8b4cf18d14d180a4f347e83ca" alt="" width="2874" height="1794" data-path="images/stripe-connected-chat.png" />
</Frame>

When you reopen the Stripe feature, you'll see a “Connected” label—this means your Stripe account is now linked to the project. If you need to switch your API key (e.g., when changing to a different Stripe account), click **Change API**. Please note: Updating the API key will invalidate any products previously connected to Stripe on this page. This may cause unexpected issues, so proceed with caution.

<Frame>
  <img src="https://mintcdn.com/readdy/XM6zx4Mq-XYNJTgS/images/stripe-connected-panel.png?fit=max&auto=format&n=XM6zx4Mq-XYNJTgS&q=85&s=e0f30d036f3393315a276c58488e74db" alt="" width="2874" height="1794" data-path="images/stripe-connected-panel.png" />
</Frame>

<Tip>
  Tips for Using Stripe Integration

  * After connecting your Stripe API key, you can describe your payment requirements directly to the AI.
  * To ensure optimal results, use clear and concise instructions. For example:
    * "Connect the products on the page to Stripe so users can complete payment via Stripe when clicking the purchase button."
    * "Import the products from the page into Stripe and create matching products in Stripe."
    * "I’ve already created products in Stripe, import them into the XX section on the page."
  * Before publishing your project, ensure your products are properly connected to Stripe and all product information displays correctly.
  * Stripe payment pages cannot be accessed directly from Readdy's editor. Please publish your website first, and the payment process will work on your online website.
</Tip>

***

## Need Help?

If this guide doesn't resolve your issue, [submit a support ticket](https://readdy.ai/feedback). We're here to help!
