# Step 8: Configure and synchronize the products

Product management consists of two aspects. First, the required product attributes must be configured for each product/SKU. Next, the products must be synced to Digital River. This section includes [product configuration](#product-configuration) and [product synchronization](#product-synchronization).

## Configure product attributes

For each product or SKU, you must configure the [product attributes](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.5/integrate-the-salesforce-lightning-app/step-5-add-custom-fields-to-the-page-layouts) to send to Digital River.

In the **Product** tab, the tax code object will map to the **DR TAXGROUP** and **DR TYPE** in the **Digital River Tax Mappings** field. The **ECCN code** maps to the **Digital River ECCN code** object.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F4ekJAppPuwcOyXcUGGo0%2FProduct%20setup%20and%20sync.png?alt=media)

When a Digital River field is changed, it is marked for synchronization. When a product synchronization batch job runs, any products marked for synchronization should be synced.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FIsUNy1ShVCFQBAekjPyN%2FDigital%20River%20tax%20mapping%20custom%20object.png?alt=media)

### DR Product Country Origin (Picklist)

{% hint style="warning" %}
Within the Salesforce Lightning app installation, **Country Names** and corresponding **Country ISO codes** will come pre-populated on the custom field **DR Product Country Origin** on the **Product** object.

Any changes (additions, deletions, or modifications) to these picklists must be done manually after installation.
{% endhint %}

## Configure product synchronization

The **Product Sync** tab allows you to configure the behavior of the automated product synchronization. A batch job performs the synchronization, and you can schedule it to run periodically.

{% hint style="warning" %}
Products missing any required fields (for example, DR Product Country Origin, DR TAXGROUP, DR TAXTYPE, and DR ECCN) will not be synced to Digital River. Digital River uses this information to calculate tax.
{% endhint %}

To update the **Product Sync** settings:

1. Click the App Launcher ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2Fxgf1fHHyAer5OA0VXUjR%2FApp%20launcher.png?alt=media).
2. Type **Digital River App** in the **Search apps and items** field and click **Digital River App**.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F7n8Cwy6IdTe9hnQhURyk%2FDR%20App%20in%20Search.png?alt=media)
3. Click the **Product Sync** tab.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FPLwB7pYU2dfqDtlZLqbl%2FProduct%20Sync%20tab.png?alt=media)
4. Complete the following fields:
   * **Batch Schedule Time**: Defines the frequency of the batch job run in minutes.
   * **Batch Size**: The number of Salesforce product records that the job will push to Digital River each time you run the job.
5. Click **Save**.
6. Click **Sync products** (to sync the products).
7. Click **Re-Sync All Products** (to resync all products).
