---
title: Assign related products
slug: configured-commerce/pim/assign-related-products
docTags: 
createdAt: 2026-08-05T19:28:07.179Z
---

You can import related product assignments from the **Imports** page. Products you want to create relationships for must already exist in the Optimizely Product Information Management (PIM).

1. Click **Imports**. The Imports list page displays.
2. Select **Import Template** > **Download Import Templates**.
   ![download-import-templates-menu.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/zrc4m728pdRRQijQ3p7Hi-20260720-144507.png)
3. Select **Download** for the **Assign Related Products** template if you have not already formatted your import file.

   ![download-related-products-template.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/pj1KFQy6BihkhdgwHKSpZ-20260720-144507.png)

:::Paragraph{indent="1"}
The file must contain the following columns:
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/mFFjyeLsNVZGmWhj1Vw5n-20260720-144507.png" size="100" alt="related-products-template.png" isUploading="false" showCaption="false" indent="2"}

:::Paragraph{listStyleType="disc" indent="2"}
**Product Number –** The product number of the product that has related products assigned to it. List the product number multiple times if multiple related products are assigned to it.
:::

:::Paragraph{listStyleType="disc" indent="2"}
**Relationship Type –** The name of the product relationship for the related product.
:::

:::Paragraph{listStyleType="disc" indent="2"}
**Related Product –** The product number of the product that is being assigned.
:::

:::Paragraph{listStyleType="disc" indent="2"}
**Unassign** – Optional. To unassign a related product from the product, enter yes. If any other value is entered, it is treated as no. See [Unassign assets, categories, and related products](docId\:lwGvoWoDpi2sc7HpRye2H).
:::

5. Drag and drop the file onto the Imports page. You can also click **Import**, locate your file, and click **Open**. The page automatically detects the **Import Type** and asks you in the **Notes** column to verify the import type selected.
6. Click **Import**. If you receive any validation errors, resolve them before importing again. You can download the provided file to view error messages specific to each row.
7. View your import progress on the **Imports** list page. A log of the import also displays on the page when it is complete.
