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

# Obtaining credentials

> Step-by-step guide to generate your Mercado Pago Access Token (Test and Production) and connect it to Brain Studio.

## When do you need this?

You will need this when you try to **Connect** Mercado Pago in Marketplace and Brain Studio asks you for an **Access Token**.

***

To connect **Mercado Pago** with **Brain Studio** you need an **Access Token**, associated with an application (App) created in the merchant's account.

This guide explains how to obtain **test credentials** and **production credentials**, and when to use each one.

> [!TIP]
>
> By the end of this guide you will have an Access Token (Test or Production) ready to install Mercado Pago in Brain Studio.

## Before you begin

> [!NOTE]
>
> You need an **active account** in Mercado Pago, **access to the merchant panel**, and **permissions to create applications**. No advanced technical knowledge is required.

## Don't have a Mercado Pago account?

> [accordion] Select your country to create an account
>
> > [card] [Peru](https://www.mercadopago.com.pe)
> >
> > mercadopago.com.pe
>
> > [card] [Colombia](https://www.mercadopago.com.co)
> >
> > mercadopago.com.co
>
> > [card] [Mexico](https://www.mercadopago.com.mx)
> >
> > mercadopago.com.mx
>
> > [card] [Chile](https://www.mercadopago.cl)
> >
> > mercadopago.cl
>
> > [card] [Brazil](https://www.mercadopago.com.br)
> >
> > mercadopago.com.br
>
> > [card] [Argentina](https://www.mercadopago.com.ar)
> >
> > mercadopago.com.ar
>
> > [card] [Uruguay](https://www.mercadopago.com.uy)
> >
> > mercadopago.com.uy

## Steps to obtain credentials

**1. Log in to the Mercado Pago panel**

**Sign in** to the Mercado Pago merchant account.

**2. Access your integrations**

From your account menu, **navigate** to:

**Your business → Settings → Your integrations**

This is where **applications** and **credentials** for the account are managed.

![Navigating to Your integrations in the Mercado Pago panel](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/mercado-pago-tus-integraciones.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=302ba1e676f29216617082bcd56c1568)

Navigating to Your integrations in the Mercado Pago panel

**3. Create an application**

To generate credentials, you must first **create an application**:

1. Click **Create application**
2. **Enter a name** for the app (the name is free-form)
3. **Complete** the creation

> [!NOTE]
>
> The application **does not process payments** on its own. It is used solely to **generate credentials**.

<video controls src="https://mintcdn.com/jelouai/ULgwEHLikEppkuDq/assets/videos/integraciones/pagos/mercado-pago/mercado-pago-creacion-app.mp4?fit=max&auto=format&n=ULgwEHLikEppkuDq&q=85&s=d4ec914dcb34b60909104e90ac211eaf" />

Creating an application in Mercado Pago

**4. Access the App credentials**

Inside the created application:

1. **Go to** the **Credentials** section
2. You will see **two types** of credentials:
   * **Test credentials**
   * **Production credentials**

> [!TIP]
>
> If you can see the Access Token in the Credentials section, this step was completed successfully.

<video controls src="https://mintcdn.com/jelouai/ULgwEHLikEppkuDq/assets/videos/integraciones/pagos/mercado-pago/mercado-pago-credenciales.mp4?fit=max&auto=format&n=ULgwEHLikEppkuDq&q=85&s=995ed612f0f3dde6000ab3e300aba919" />

Video: Accessing credentials

**5. Copy the Access Token**

> [tab] Test credentials
>
> * Generated **automatically** when the application is created.
> * Include a **test Access Token**.
> * Allow you to **test** the integration without processing real payments.
> * Ideal for **development** and **internal validations**.
>
> Copy the **test Access Token** to use in test environments.

> [tab] Production credentials
>
> * Enabled when the app is **activated for production**.
> * Include a **production Access Token**.
> * **Required** to accept real payments.
>
> In some countries, Mercado Pago may request **additional information** before enabling production.
>
> Copy the **production Access Token** for real charges.

> [!WARNING]
>
> For **production environments** in Jelou, you must use **production credentials**. Test tokens **do not process real payments**.

**6. Use the Access Token in Brain Studio**

During **installation** from the Brain Studio **Marketplace** you will be asked to enter the **Access Token**.

Once configured:

* Payments are processed **directly** in the merchant's account.
* Jelou **does not hold funds**.
* The payment result returns to the **conversational flow**.

## Troubleshooting

> [accordion] I cannot activate production credentials
>
> Mercado Pago may require:
>
> * Completing business tax information
> * Defining industry or category
> * Adding a valid website
>
> Review the **Business data** section in your Mercado Pago account and complete any pending information.

> [accordion] I cannot see the Credentials section
>
> Verify that:
>
> * The application was created correctly
> * You are inside the App and not in the general view
> * You have sufficient permissions on the account
>
> If the issue persists, review the user permissions in Mercado Pago.

## Best practices

> [accordion] Access Token security
>
> * **Do not share** your Access Token.
> * If you suspect **exposure** of the token, **rotate it** from the Mercado Pago panel.

> [accordion] Usage per environment
>
> * Use **test tokens** only in test environments.
> * **Switch** to production credentials before going live.


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