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

# How it works

> Connect Stripe in Brain Studio with your Access Token or by creating an account in Mexico, and charge via WebView or native in-chat experience.

Stripe is an international payment provider you can connect in Brain Studio in two ways:

* With your **existing account**, by entering your **Access Token**.
* By **creating an account in Mexico** through guided registration from Brain Studio.

Once connected, you can charge users from WhatsApp via:

* **[Embedded WebView checkout](https://docs.jelou.ai/guides/integraciones/pagos/experiencias/checkout-webview.md)**
* **[Native in-chat card payment](https://docs.jelou.ai/guides/integraciones/pagos/experiencias/pago-nativo.md)**

Brain Studio creates the payment intent and exposes the **real transaction status** so your flow continues based on the result.

***

## Integration summary

> [tab] Installation
>
> * Available in **Marketplace**, **Jelou Agent**, **Payments** node in Canvas, and **templates**
>
> * You can also [install it in test mode](https://docs.jelou.ai/guides/integraciones/pagos/modo-prueba.md) without an account or Access Token
>
> * Two connection paths:
>   * **I already have an account:** Access Token + webhooks configured in Stripe Dashboard → see [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/obtener-credenciales.md)
>   * **Create a Stripe account:** guided registration **only in Mexico**; Brain Studio installs the integration when registration completes, without asking for credentials
>
> * Separate environments: **test credentials** and **production credentials**
>
> > [!NOTE]
> >
> > If you choose to create a Stripe account, you do not need the Obtaining credentials guide. Go directly to [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/conectar-en-brain-studio.md).

> [tab] Experience
>
> Stripe supports two payment experiences in Brain Studio:
>
> * **Embedded WebView:** Yes
>
> * **Native in chat:** Yes
>
> * **External confirmation:** No
>
> > [!NOTE]
> >
> > You can choose between sending a payment link in WebView or capturing card data directly in the conversation via the native flow.

> [tab] Availability
>
> Stripe operates in more than 40 countries globally.
>
> The **Create a Stripe account** option from Brain Studio is available **only in Mexico**.
>
> Payment method availability depends on the country and active configuration in your Stripe account.
>
> > [!TIP]
> >
> > See full coverage on Stripe's official site: [https://stripe.com/global](https://stripe.com/global)

***

## What you can do with Stripe in Brain Studio

Once connected, Stripe enables:

* Charges via **payment link (WebView)**
* Charges with **card directly in chat**
* Access to advanced payment management tools (depending on configuration)

Each modality is configured based on the type of experience you want to implement.

***

## Next steps

**1. Obtain credentials (only if bringing your account)**

If you chose **I already have an account**, get your Access Token and configure webhooks in Stripe Dashboard.

> [card] [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/obtener-credenciales.md)
>
> Set up credentials and webhooks in Stripe Dashboard.

> [!NOTE]
>
> If you will **create an account in Mexico** from Brain Studio, skip this step.

**2. Connect in Brain Studio**

Install Stripe by choosing your path (existing account or create account) and test or production environment.

> [card] [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/conectar-en-brain-studio.md)
>
> Follow the installation flow for your case.

**3. Use Stripe in your flow**

Once connected, add the Stripe node to your flow and continue based on the real payment status.

> [card] [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/uso-y-configuracion.md)
>
> Configure the payment experience within the flow.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.