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

<Check>
  By the end of this guide you will have an Access Token (Test or Production) ready to install Mercado Pago in Brain Studio.
</Check>

## Before you begin

<Info>
  You need an **active account** in Mercado Pago, **access to the merchant panel**, and **permissions to create applications**. No advanced technical knowledge is required.
</Info>

## Don't have a Mercado Pago account?

<Accordion title="Select your country to create an account">
  <CardGroup cols={2}>
    <Card title="Peru" href="https://www.mercadopago.com.pe" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇵🇪</span>} horizontal>
      mercadopago.com.pe
    </Card>

    <Card title="Colombia" href="https://www.mercadopago.com.co" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇨🇴</span>} horizontal>
      mercadopago.com.co
    </Card>

    <Card title="Mexico" href="https://www.mercadopago.com.mx" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇲🇽</span>} horizontal>
      mercadopago.com.mx
    </Card>

    <Card title="Chile" href="https://www.mercadopago.cl" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇨🇱</span>} horizontal>
      mercadopago.cl
    </Card>

    <Card title="Brazil" href="https://www.mercadopago.com.br" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇧🇷</span>} horizontal>
      mercadopago.com.br
    </Card>

    <Card title="Argentina" href="https://www.mercadopago.com.ar" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇦🇷</span>} horizontal>
      mercadopago.com.ar
    </Card>

    <Card title="Uruguay" href="https://www.mercadopago.com.uy" icon={<span style={{ fontSize: '1.5rem', lineHeight: 1 }}>🇺🇾</span>} horizontal>
      mercadopago.com.uy
    </Card>
  </CardGroup>
</Accordion>

## Steps to obtain credentials

<Steps>
  <Step title="Log in to the Mercado Pago panel">
    **Sign in** to the Mercado Pago merchant account.
  </Step>

  <Step title="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.

    <Frame caption="Navigating to Your integrations in the Mercado Pago panel">
      <img src="https://mintcdn.com/jelouai/y5L6vahGrhMqbaUQ/assets/images/integraciones/pagos/mercado-pago-tus-integraciones.png?fit=max&auto=format&n=y5L6vahGrhMqbaUQ&q=85&s=3a33f5770262056236f95fe9f540d85e" alt="Navigating to Your integrations in the Mercado Pago panel" width="2048" height="955" data-path="assets/images/integraciones/pagos/mercado-pago-tus-integraciones.png" />
    </Frame>
  </Step>

  <Step title="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

    <Info>
      The application **does not process payments** on its own. It is used solely to **generate credentials**.
    </Info>

    <Frame caption="Creating an application in Mercado Pago">
      <video controls className="w-full aspect-video rounded-xl" src="https://mintcdn.com/jelouai/c4aHWk5mWPCIlk-Z/assets/videos/integraciones/pagos/mercado-pago/mercado-pago-creacion-app.mp4?fit=max&auto=format&n=c4aHWk5mWPCIlk-Z&q=85&s=dd60f74097ac50cae372d2111f8ef6ec" data-path="assets/videos/integraciones/pagos/mercado-pago/mercado-pago-creacion-app.mp4" />
    </Frame>
  </Step>

  <Step title="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**

    <Check>
      If you can see the Access Token in the Credentials section, this step was completed successfully.
    </Check>

    <Frame caption="Video: Accessing credentials">
      <video controls className="w-full aspect-video rounded-xl" src="https://mintcdn.com/jelouai/c4aHWk5mWPCIlk-Z/assets/videos/integraciones/pagos/mercado-pago/mercado-pago-credenciales.mp4?fit=max&auto=format&n=c4aHWk5mWPCIlk-Z&q=85&s=97a4634132bb4b68b65d22850c96134a" data-path="assets/videos/integraciones/pagos/mercado-pago/mercado-pago-credenciales.mp4" />
    </Frame>
  </Step>

  <Step title="Copy the Access Token">
    <Tabs>
      <Tab title="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>

      <Tab title="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.
      </Tab>
    </Tabs>

    <Warning>
      For **production environments** in Jelou, you must use **production credentials**. Test tokens **do not process real payments**.
    </Warning>
  </Step>

  <Step title="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**.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="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>

  <Accordion title="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.
  </Accordion>
</AccordionGroup>

## Best practices

<AccordionGroup>
  <Accordion title="Access Token security">
    * **Do not share** your Access Token.
    * If you suspect **exposure** of the token, **rotate it** from the Mercado Pago panel.
  </Accordion>

  <Accordion title="Usage per environment">
    * Use **test tokens** only in test environments.
    * **Switch** to production credentials before going live.
  </Accordion>
</AccordionGroup>
