> For the complete documentation index, see [llms.txt](https://daton-sarasanalytics.gitbook.io/daton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/ecommerce/mercado-libre/how-to-integrate-mercado-libre-with-daton.md).

# How to Integrate Mercado Libre with Daton

### Pre-requisites

Before starting, ensure you have&#x20;

* An active Daton and Mercado Libre developer account.

{% hint style="info" %}
**Important Note:**

While authenticating in Daton please use the seller credentials with **Admin-level** permissions to pull the data.

*For more information, see* [*Performing the Authorization*](https://developers.mercadolibre.com.ar/es_ar/autenticacion-y-autorizacion#Realizando-la-autorizaci%C3%B3n)*.*
{% endhint %}

### Task 1: **Get your** Mercado Libre Client ID and Client Secret

Perform the following steps to get your Mercado Libre Client ID and Client Secret: &#x20;

1. [Sign in](https://mercadolibre.com/) to your Mercado Libre developer account.
2. Navigate to Profile and click **My Apps**.
3. If you already have an app, select it. Otherwise, click on **Create New App** to add a new one.\
   Please refer to the [Mercado Libre authentication documentation](https://developers.mercadolibre.com.mx/en_us/authentication-and-authorization) for additional details.
4. Click **Edit** to access the App Settings.
5. Both the Client ID and Client Secret corresponding to your app will be displayed.&#x20;

   <figure><img src="/files/mQVNB7ALYNuo3dyu6GVD" alt=""><figcaption></figcaption></figure>

   Copy and save these credentials as they are essential for establishing a secure integration between Daton and Mercado Libre.

### Task 2: Integrate Daton with Mercado Libre

1. Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for Mercado Libre in the list of Connectors, then click **Configure**.
2. Enter or select the following details and click **Authenticate**:&#x20;

   * Integration Name (required)\
     \&#xNAN;*Note that the Integration Name will be used to create the integration tables and cannot be modified later.*
   * Optionally, add a description to identify the integration.
   * Replication Frequency&#x20;
   * Replication Start Date
   * Attribution Window (required)
   * Optionally, expand the **Advanced Configuration Options** section and, based on your requirements, modify the options to control the loading behavior of Daton.

   <figure><img src="/files/o35RIBW4X2UM21e0QOQS" alt=""><figcaption></figcaption></figure>
3. Provide your Mercado Libre **Client ID** and **Client Secret** as obtained from [Task 1](#task-1-get-your-mercado-libre-client-id-and-client-secret), and hit **Authenticate.**

   <figure><img src="/files/W9bnTk2NXxatajG7dYbo" alt=""><figcaption></figcaption></figure>
4. You'll be now redirected to the Mercado Libre **login page** in a new browser tab; proceed to log in to your account and return to your Daton integration tab.

   <figure><img src="/files/Pu3H5prtKbdeYNMDIQM4" alt=""><figcaption></figcaption></figure>
5. After successful authentication, you will be redirected to the Daton's integration page to choose from the list of available tables. Select the required tables and click **Next**.&#x20;
   * Based on your requirement, select specific options for each selected table.
6. Select the required fields for each table and click **Submit.**&#x20;
   * **Note** that you will be prompted to select the destination for your account.
7. Select the destination for extracting Mercado Libre data for replication and click **Confirm**. An integration successful message will be displayed.

## Important Note

* Integrations would begin in the Pending state and change to the Active state once the first job successfully loaded data into the configured warehouse.&#x20;
* Users can check job status and process logs from the integration details page by clicking on the integration name in the active list.&#x20;
* Users can Re-Authenticate, Edit, Clone, Pause, or Delete the integration at any moment by clicking on settings. You can also adjust the frequency and history of the integration.&#x20;
* On the Sources page, click Integration to access each table in your integration. The page also shows the state of each table, the last replicated time, and the Reload access buttons.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/ecommerce/mercado-libre/how-to-integrate-mercado-libre-with-daton.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
