# Setup Guide

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To connect your Shopify account to DinMo, you need:

* Access to a Shopify account
* A shop
* You need to log in to your Shopify account before starting the setup process, if creating a connection via API.

{% hint style="info" %}
Only use an HTTPS URL with TLS version 1.2 or above.
{% endhint %}

### Setup instructions <a href="#setupinstructions" id="setupinstructions"></a>

#### STEP 1: Begin DinMo configuration <a href="#beginfivetranconfiguration" id="beginfivetranconfiguration"></a>

1. In the connection setup form, enter your chosen **Destination schema** name.
2. Click **Continue Setup with Shopify**. You will be redirected to the Shopify app store.

#### STEP 2: Install DinMo app <a href="#installfivetranapp" id="installfivetranapp"></a>

1. On the DinMo app page, click **Log in to install**.
2. Log in to your Shopify account.
3. In the Shopify App Store, select the store whose data you want to sync.
4. Depending on whether or not your application is already installed in your Shopify account, do one of the following:
   * If the app is not installed, click **Install**.
   * If the app is already installed, click **Update**.
5. Once you have finished, you will be redirected back to DinMo, and the **Shop name** will be automatically populated.

#### STEP 3: Finish DinMo configuration <a href="#finishfivetranconfiguration" id="finishfivetranconfiguration"></a>

1. Click **Authorize** to allow DinMo to access your Shopify account using OAuth.
2. In the **Historical Sync Time Frame** drop-down menu, select the amount of historical data you want to include in your initial sync:
   * Select **Sync all historical data** to sync all available historical data from your source.
   * Select **Sync data from selected date** and choose a date in the **Historical Sync Start Date** field to limit the historical data synced for certain tables. This speeds up the initial sync. For a list of affected tables, see our Shopify connector historical sync time frame documentation.
3. Click **Save & Test**. DinMo will take it from here and sync your Shopify data.

{% hint style="info" %}
We recommend that you create only one connection for each Shopify store.
{% endhint %}
