> ## 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 Mercado Pago in Brain Studio, configure your Access Token, and use the payment node in your flows.

Connect Mercado Pago 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 Mercado Pago merchant account](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/mercado-pago/obtener-credenciales.md#no-tienes-cuenta-en-mercado-pago)**
* A test or production **Access Token**
* Credentials that match the environment you want to operate in

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

> [!WARNING]
>
> For the checkout to open inside WhatsApp (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 installation

You can start installing Mercado Pago from different points in Brain Studio. All paths use the same provider configuration.

> [tab] Jelou Agent
>
> Ask Jelou Agent to add Mercado Pago payments while you build or adjust a flow.
>
> Examples:
>
> * "Add Mercado Pago payments to this flow"
> * "I need a Mercado Pago checkout for this use case"
>
> Jelou Agent detects Mercado Pago as an available provider from Marketplace and starts the assisted installation flow.

> [tab] Marketplace
>
> Open **Marketplace**, search for **Mercado Pago** under **Payments & Processing**, or use the search bar.
>
> Then click **Connect** or **Install** to start the installation flow.
>
> ![Mercado Pago in the Marketplace integrations catalog](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/mercado-pago-marketplace-catalogo.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=e61e2147aab797e776d0ac12bd07fb70)
>
> Mercado Pago available in the Marketplace catalog

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

> [tab] Templates
>
> Some Brain Studio templates may include payment configuration.
>
> During template creation, Brain Studio may ask you to choose a payment provider and connect Mercado Pago as part of the setup 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 as follows.

> [!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 are connecting Mercado Pago with **test credentials** or **production credentials**.

In Mercado Pago, these credentials correspond to the **Access Token** from **Test credentials** or **Production credentials**.

![Connect Mercado Pago modal step 1 of 3 to choose between test credentials or production credentials](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/mercado-pago-conectar-seleccion-ambiente.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=59b053c3f514d340c84700463009fffb)

Step 1 of 3: select test or production credentials

**2. Enter the Access Token**

Paste the **API Key** (Mercado Pago Access Token) that matches the selected environment.

![Connect Mercado Pago modal step 2 of 3 with API Key field to connect the integration](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/mercado-pago-conectar-credenciales.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=666804fa59303677692d47610839259d)

Step 2 of 3: enter your Mercado Pago API Key

**3. Configure VAT and currency**

Define the **VAT applied** that the integration will use and select the **Charge currency**.

The currency must match the **country of the Mercado Pago credentials** you used for installation. For example, if you connected Chile credentials, select `CLP - Chilean peso`.

> [!NOTE]
>
> If the currency does not match your credentials' country, the connection may fail or charges may behave inconsistently.

![Connect Mercado Pago modal step 3 of 3 with VAT applied and Charge currency fields](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/mercado-pago-conectar-iva-moneda.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=d31c2bed26dc23f861dd4827a1fbe7bf)

Step 3 of 3: configure VAT applied and charge currency

**4. Confirm connection**

Click **Connect integration**. Brain Studio will save the configuration and make **Mercado Pago** available in your workspace.

**5. Use Mercado Pago from the Payments node in Canvas**

After installation, you can use Mercado Pago from the **Payments** node in **Canvas**, regardless of whether you started from Jelou Agent, Marketplace, the Payments node, or a template.

***

## Test vs production credentials

> [!WARNING]
>
> Test credentials do not process real payments. Before operating in production, you must connect Mercado Pago using a production Access Token.

> [!TIP]
>
> If you connect Mercado Pago with test credentials, you will need **test users** and a **buyer email** from test mode when testing the node. See [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/mercado-pago/uso-y-configuracion.md).

***

## Go to production

If you installed Mercado Pago with **test** credentials, you can use the payment node for testing. To operate with real payments:

**1. Open Go to production**

You can start the change from:

* The **advanced sidebar** of the Mercado Pago node in **Canvas**
* The **Mercado Pago** page in **Marketplace**

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

**2. Enter the production Access Token**

Enter the **Access Token** from Mercado Pago **Production credentials**.

**3. Confirm the change**

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

***

## Change credentials

* To move from **test** to **production** with the same installation, use **Go to production**.
* To **rotate credentials** or **replace the configuration**, disconnect Mercado Pago 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/mercado-pago/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.