# How to Integrate Rainforest Account with Daton

### Prerequisites

1. An active Daton and Rainforest account.
2. Rainforest API Key
3. Amazon Seller Merchant Token

### Task &#x31;**: Generate an API key from the Rainforest account**

1. [Log in](https://app.rainforestapi.com/login) to your Rainforest account.
2. You may find the API key at the top right in the **API Playground** tab.\
   Copy and save the key for further use.

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FrgDu9ZF7Ni3HJMQqCwYp%2Fimage.png?alt=media&#x26;token=b55552b7-b972-4e33-9f49-365a1a32c7f8" alt=""><figcaption></figcaption></figure>

### Task &#x32;**: Retrieve your Amazon Seller Merchant Token**&#x20;

1. Log in to your [Amazon Seller Central](https://sellercentral.amazon.com/).
2. Locate the gear icon in the upper right-hand corner and click on it to access **Account Info**.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F7Viybow0CIdtMJSJGcni%2F1Merchant%20Token%20ASC.png?alt=media&#x26;token=b385345e-517f-4257-ae90-bcf0bed05f62" alt="" width="277"><figcaption></figcaption></figure>
3. Navigate to the **Business Information** section and find the option for **Merchant Token**.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FJ3OF1RC6jNgaMm4JCelt%2F2Merchant%20Token%20ASC.png?alt=media&#x26;token=73e62bae-2170-410d-a9fd-c458c40f5f0e" alt=""><figcaption></figcaption></figure>
4. Copy and save the displayed ID, as it is your unique **Merchant Token**, also referred to as the Seller ID.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FqojxMWwlgSD8PLcKbW6m%2F3Merchant%20Token%20ASC.png?alt=media&#x26;token=7adaf138-55b1-4dc1-b925-51468f551ee9" alt=""><figcaption></figcaption></figure>

### Task &#x33;**:** Integrate Daton with Rainforest

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

   * Integration Name&#x20;
   * Replication Frequency&#x20;
   * Replication Start Date&#x20;

     <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2F8WKEd60Po3BzF9O5k3d6%2F1Rainforest.png?alt=media&#x26;token=8518d0bd-ac58-4974-afe7-6cf0d7c3f783" alt=""><figcaption></figcaption></figure>

   **Note** that the Integration Name will be used to create the integration tables and cannot be modified later.
3. Provide the following credentials to **authenticate** the integration:&#x20;
   * Rainforest API Key
   * Amazon Seller Merchant Token&#x20;

     <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FmWwe82H7s90EEIZoGcyS%2F2Rainforest.png?alt=media&#x26;token=a6ef2a4e-6d09-4df4-994c-5c39378a18fe" alt=""><figcaption></figcaption></figure>
4. After successful authentication, you will be prompted to choose from the list of available tables. Select the required tables and click **Next**.&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2FUN8DBR1z8vZ3XqvusOu6%2F3Rainforest.png?alt=media&#x26;token=4e34ae5d-192f-433d-9dd7-7559cfc5dd28" alt=""><figcaption></figcaption></figure>
5. Select the required fields for each table and click **Submit.**&#x20;

   <figure><img src="https://15515196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LbJ1eMq5M51cIpU163R%2Fuploads%2Fr5uToPNr706chkBIPozZ%2F4Rainforest.png?alt=media&#x26;token=d426698d-51dd-4908-8a9d-ac775ceeb88d" alt=""><figcaption></figcaption></figure>

   Select the required fields for each table and click **Submit.**&#x20;
6. Select the destination for your store or shop 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 Reload access buttons.&#x20;
