> ## 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.

# Connect in Brain Studio

> Install Wompi in Brain Studio, configure its credentials, and use the payment node in your flows.

Connect Wompi to enable the provider in your workspace and make the payment node available in Brain Studio with an **embedded WebView** experience.

***

## Before you begin

Make sure you have:

* An **active Wompi account**
* Wompi's **public key**
* Wompi's **private key**
* Wompi's **events secret**
* Wompi's **integrity secret**
* The **VAT percentage** that the operation will apply
* The correct credentials for your environment: **Sandbox** or **Production**

> [!TIP]
>
> To obtain or review credentials, follow [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/wompi/obtener-credenciales.md).

> [!WARNING]
>
> For the checkout to open inside WhatsApp as an embedded WebView, the account must be **WhatsApp Business verified**.
>
> If it is not verified, the checkout will open in the device's external browser.

***

## Ways to start the installation

You can start the Wompi installation from different points in Brain Studio. All paths use the same provider configuration.

> [tab] Jelou Agent
>
> Ask Jelou Agent to add payments with Wompi while you build or adjust a flow.
>
> Examples:
>
> * "Add payments with Wompi to this flow"
> * "I need to charge with Wompi for this case"
> * "I want to process payments with Wompi"
>
> Jelou Agent detects Wompi as an available provider from Marketplace and triggers the assisted installation flow.

> [tab] Marketplace
>
> Open **Marketplace**, search for **Wompi** in **Payments & Processing** or use the search bar.
>
> Then press **Connect** or **Install** to start the installation flow.

> [tab] Payments Node
>
> From the **Canvas** toolbar, open the **Payments** node.
>
> Inside the **Payments** node, you can see **Wompi** as an available provider. If it is not connected yet, press **Install** to start the same connection flow used by Marketplace, Jelou Agent, and templates.
>
> ![Payments node in Canvas showing Wompi as an available provider with the Install option](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-pagos-instalar.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=e475bd2c73b2b36e6af0833265b4495e)
>
> Wompi available to install from the Payments node in Canvas

> [tab] Templates
>
> Some Brain Studio templates may include a payment configuration.
>
> While creating the template, Brain Studio may ask you to choose a payment provider and connect Wompi as part of the configuration flow.

> [!NOTE]
>
> All installation paths use the same provider configuration. What changes is where you start the flow.

***

## Common installation flow

Regardless of the entry point, the shared process is the following.

> [!NOTE]
>
> The first modal asks you to choose **Try with Jelou** or **Connect my account**.
>
> * **Try with Jelou:** installs the gateway in [test mode](https://docs.jelou.ai/guides/integraciones/pagos/modo-prueba.md), without an account or your own credentials.
> * **Connect my account:** uses your test or production credentials. Continue with the steps on this page.

**1. Choose test or production credentials**

Brain Studio will ask you to select whether you will connect Wompi with **test credentials** or **production credentials**.

In Wompi, these credentials correspond to **Sandbox** or **Production** keys.

![Brain Studio modal to choose between test credentials or production credentials when connecting Wompi](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-conectar-seleccion-ambiente.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=d66c2e38a3cfce912e3588d742aa33a7)

Environment selection to connect Wompi

**2. Complete the four credentials**

Complete the modal with:

* **Public key**
* **Private key**
* **Events secret**
* **Integrity**

![Brain Studio modal to enter Wompi's public key, private key, events secret, and integrity](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-conectar-credenciales.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=b448419a3a6be0d5fecfe639e061ba79)

Credentials required to connect Wompi

**3. Configure applied VAT**

Define the **applied VAT** that the integration will use during the payment operation.

![Brain Studio modal to configure the applied VAT during the Wompi connection](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-conectar-iva.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=d1271dda40388456aa0123224f9624b1)

Applied VAT configuration for Wompi

**4. Confirm connection**

Confirm the connection. Brain Studio will save the configuration and make **Wompi** available in your workspace.

**5. Use Wompi from the Payments node in Canvas**

After installing, you can use Wompi from the **Payments** node in **Canvas**, whether the flow started from Jelou Agent, Marketplace, the Payments node, or a template.

***

## Sandbox vs Production credentials

Wompi separates credentials by environment:

* **Sandbox:** credentials for testing without real money.
* **Production:** credentials for processing real payments.

Keys and secrets have different prefixes depending on the environment:

| Environment | Public key | Private key | Events secret | Integrity secret |
| - | - | - | - | - |
| Sandbox | `pub_test_...` | `prv_test_...` | `test_events_...` | `test_integrity_...` |
| Production | `pub_prod_...` | `prv_prod_...` | `prod_events_...` | `prod_integrity_...` |

> [!WARNING]
>
> Sandbox credentials do not process real payments. Before going live, you must connect Wompi using production credentials.

> [!TIP]
>
> Always use credentials from the same environment. Do not mix Sandbox keys or secrets with Production keys or secrets.

***

## Switch to production

If you installed Wompi with **development/Sandbox** credentials, you can use the payment node for testing. To operate with real payments:

**1. Open Switch to production**

You can start the change from:

* The **advanced sidebar** of the Wompi node in **Canvas**
* The **Wompi** page in **Marketplace**

In both cases, the same modal opens to switch the integration to production.

![Brain Studio modal to switch the Wompi integration to production](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-pasar-a-produccion.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=348f6350caae9eceacae72d8be45a48d)

Modal to switch Wompi to production

**2. Complete production credentials**

Enter the Production credentials:

* **Public key**
* **Private key**
* **Events secret**
* **Integrity**

**3. Confirm applied VAT**

Review and confirm the **applied VAT** that the integration will use in production.

**4. Confirm the change**

Confirm the action. From that moment on, the integration operates with production credentials.

***

## Change credentials

* To switch from **development/Sandbox** to **Production** with the same installation, use the **Switch to production** section.
* To **rotate credentials** or **replace the configuration**, disconnect Wompi and reinstall it following the **common installation flow** on this page.

***

## Next step

Once the integration is connected, continue with:

> [card] [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/wompi/uso-y-configuracion.md)
>
> Configure the payment node and continue the flow based on the WebView payment result.


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