> ## 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 Deuna in Brain Studio and charge in Ecuador with external confirmation from the Deuna app.

Deuna is an Ecuadorian payment provider you can connect in Brain Studio using your own business account.

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

***

## Integration overview

> [tab] Installation
>
> * Can be connected from **Marketplace**, **Jelou Agent**, the **Payments** node in Canvas, or compatible templates
>
> * **DeUna** does not have [test mode](https://docs.jelou.ai/guides/integraciones/pagos/modo-prueba.md): install it with your credentials
>
> * Requires an **active Deuna business account** with credentials delivered after Enterprise onboarding
>
> * Requires **[Api Key, Api Secret, and merchant code](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/deuna/obtener-credenciales.md)** per environment (test and production)
>
> * During installation, Brain Studio asks for **credential type**, **Api key**, **Api secret**, **merchant code**, and **applied VAT**
>
> > [!NOTE]
> >
> > Deuna credentials are not self-service. Merchant code, Api Key, and Api Secret are provided by Deuna's commercial team after onboarding.

> [tab] Experience
>
> * **Embedded WebView:** No
>
> * **Native in chat:** No
>
> * **External confirmation:** Yes
>
> > [!NOTE]
> >
> > The user completes payment in the **Deuna app**, either via **redirect to app** or by pasting a **unique code** generated in the flow.
> >
> > Once confirmed, Deuna sends payment status to Jelou and the conversation continues based on the result.

> [tab] Availability
>
> **Available countries:** 🇪🇨 Ecuador\
> **Currency:** USD\
> **Payment method:** Deuna wallet

***

## Next steps

**1. Obtain Deuna credentials**

Before connecting, start Enterprise onboarding with Deuna's commercial team. Once completed, you will receive **merchant code**, **Api Key**, and **Api Secret** for test and production.

> [card] [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/deuna/obtener-credenciales.md)
>
> Request credentials from Deuna's commercial team.

**2. Connect in Brain Studio**

With credentials in hand, connect Deuna by choosing the environment and entering Api key, Api secret, merchant code, and applied VAT.

> [card] [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/deuna/conectar-en-brain-studio.md)
>
> Install the integration and configure the initial environment.

**3. Use Deuna in your flow**

Configure **Payment method** on the node and continue based on the real payment status.

> [card] [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/deuna/uso-y-configuracion.md)
>
> Redirect to app or unique code, and node outputs.


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