> ## 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 PayPal in Brain Studio and charge via WebView checkout with global coverage.

PayPal lets you initiate payments from a conversational flow using its **hosted checkout in embedded WebView**.

Brain Studio triggers the payment step and exposes the **transaction result** so your flow can continue based on the received status.

## Integration summary

> [tab] Installation
>
> * Can be connected from **Marketplace**, **Jelou Agent**, the **Payments** node in Canvas, or compatible templates
>
> * You can also [install it in test mode](https://docs.jelou.ai/guides/integraciones/pagos/modo-prueba.md) without an account or your own credentials
>
> * Requires a **PayPal account enabled for API use**
>
> * Requires **[Client Id and Client Secret](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/paypal/obtener-credenciales.md)**
>
> * During the connection you must define the **applied VAT** and the **Currency**
>
> > [!WARNING]
> >
> > For the WebView to work inside WhatsApp, the account must be **WhatsApp Business verified**.
> >
> > If it is not verified, the checkout will open in the device's external browser.

> [tab] Experience
>
> * **Embedded WebView:** Yes
>
> * **Native in chat:** No
>
> * **External confirmation:** No
>
> > [!NOTE]
> >
> > The user completes the payment inside the PayPal WebView checkout.
> > Capturing and processing of sensitive data happens on PayPal's infrastructure.

> [tab] Availability
>
> **Coverage:** Global
>
> PayPal operates in multiple markets internationally and is documented in Marketplace as a global payment provider.
>
> In the Americas, PayPal supports commercial payments in markets such as the United States, Canada, Mexico, Brazil, Chile, Colombia, Ecuador, Peru, and Uruguay, among others.
>
> > [card] [See coverage and pricing](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/paypal/cobertura-y-precios.md)
> >
> > Review the coverage and pricing page to validate this information before operating in production.
>
> > [!NOTE]
> >
> > Merchant coverage may vary depending on country, account type, currency, withdrawal method, and enabled PayPal product. Check the coverage and pricing page before operating in production.

## Next steps

**1. Get PayPal credentials**

Before connecting, prepare the PayPal API credentials for your integration.

> [card] [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/paypal/obtener-credenciales.md)
>
> Review the guide to prepare the Client Id and Client Secret you will use when connecting PayPal.

**2. Connect in Brain Studio**

Connect PayPal from any of the available entry points and complete the credentials along with the applied VAT and Currency.

> [card] [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/paypal/conectar-en-brain-studio.md)
>
> Complete the connection and verify that PayPal is enabled in your workspace.

**3. Use PayPal in your flow**

Once connected, add the PayPal node to your flow and continue based on the payment result.

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


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