> 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/bigcommerce-v2/how-to-integrate-bigcommerce-account-with-daton.md).

# How to Integrate BigCommerce Account with Daton

### Prerequisites

Before we get started, make sure you have an active Daton and BigCommerce account.

### Task &#x31;**: Generate an Access token** for BigCommerce store

When creating a new API account in BigCommerce, you can retrieve the Access Token, Store HASH, and Client ID information.

1. Log in to your [BigCommerce account](https://login.bigcommerce.com/login) and select **Settings** on the left menu.  &#x20;
2. Navigate to the API section and click **Store-level API accounts.**&#x20;

   <figure><img src="/files/mH9VtN1X2x189uYWuQKl" alt=""><figcaption></figcaption></figure>
3. Click **Create API Account** on the top right corner of the **Store-level API accounts** page and perform the following:&#x20;

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

   * Select the token type. Keep the default option, which is the **V2/V3 API token**.
   * Enter a name for the app or integration associated with this API account, and then copy or save the API path.&#x20;

     Note that the alphanumeric characters after stores in the API path is your Store HASH. For example, `123abc` is the Store Hash in the following API path: `https://api.bigcommerce.com/stores/123abc/v3/`

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

   * Specify under OAuth Scopes the API resources and permissions to which your app or integration requires access. Select read-only for all items.&#x20;

     **Note** that Daton does not require any Write permissions to the account.&#x20;
4. Click **Save** after making all the changes. A `.txt` file containing the API credentials will automatically get downloaded to your device.&#x20;

   **Note** that to avoid rework, you can also copy and save the credentials, such as **Client ID** and **Access Token**, from the fields displayed in the pop-up.&#x20;

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

### **Task 2:** ​Integrate Daton with BigCommerce Account

1. Log in to your [Daton account](https://daton.sarasanalytics.com/u/integrations-list) and search for BigCommerce 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;

   <div align="left"><figure><img src="/files/UxyP03SMraoZFzGmZDok" alt=""><figcaption></figcaption></figure></div>

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

   * Store HASH&#x20;
   * Client ID&#x20;
   * Access Token&#x20;

   <figure><img src="/files/isBvx13DSmQ2aOuxNwe8" 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="/files/24jCN86fkD7pkoRev1TP" alt=""><figcaption></figcaption></figure>
5. Select the required fields for each table and click **Submit.**&#x20;

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

   **Note** that you will be prompted to select the destination for your store or shop.
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;
