---
title: Configuring the catalog export
slug: campaign/docs/configuring-the-catalog-export
createdAt: 2026-07-20T15:45:18.022Z
---

:::hint{type="info"}
**Note**

This topic is for administrators and developers with administration access rights in Magento 2.
:::

This topic describes how to configure the catalog export, when using Magento 2 as e-commerce platform with Optimizely Campaign. You can for example transfer promotional texts and product images, and use this data in your newsletters. See [Content interface paragraph.](docId\:php17wfbpZtS4wLmVkeFG)

The Magento 2 integration exports your catalog into a CSV file, and automatically transfers the catalog to the Optimizely server via a secure SFTP connection at specific time intervals.

## Prerequisites

You need an **SSH key pair** and an **SFTP user account** to set up a secure connection.

## Creating an SSH key pair

Follow these instructions to create a key pair:

- [FTP access via SCP for Windows](docId:71cMX-B0CHLlutcXdWpMg)
- [FTP access via SCP for MacOS/OS X](docId:82Aeocdt6LT_tgSeTtuIM)

## Requesting an SFTP user account

When you have created the key pair, do the following to request a user account:

1. Contact [customer support](docId\:ZWe1T3UPz3JW6_4mc76qV). Providing the name of the CSV file with your product catalog.
2. Email your public key (the file with the **.pub** extension) to [customer support](docId\:ZWe1T3UPz3JW6_4mc76qV).
3. Send your key fingerprint in a *separate* email to [customer support](docId\:ZWe1T3UPz3JW6_4mc76qV).

:::hint{type="info"}
**Note**

For security reasons, always send your public key and key fingerprint in two separate emails.
:::

When your account is configured, you receive your user account information by email.

## Activating the catalog export in Magento 2

In the following steps, you activate the catalog export and save your private SSH key.

1. Log in to Magento 2 with administrator rights.
2. Go to **Stores** > **Configuration** in the menu bar on the left.

   ![Image: Select Configuration](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ufPLnQnMQPOZfChd8C_OC-20260720-145341.png "Image: Select Configuration")
3. In the left pane, select **Episerver** > **Episerver Campaign**.

   ![Image: Select Episerver> Episerver Campaign](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/lAfNDEv0VIyr_dfnvKHDC-20260720-145341.png "Image: Select Episerver> Episerver Campaign")
4. In the **FTP API (Product data export)** area, in the **Use Episerver Campaign  product data export** drop-down list, select **Yes**.

   ![Image: Use product data export](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/VpLFja7_Mis9QFiqKawbl-20260720-145341.png "Image: Use product data export")
5. In the **Username** box, enter the user name of your SFTP user account.

   ![Image: Username](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ABNu5FM0j0SNCfH5M-nsb-20260720-145341.png "Image: Username")
6. If you want to protect your SSH key with a password, select **Yes** in the **Private key is encrypted** drop-down list, and add a password in the **Password** box.

   ![Image: Encrypt private key](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/Gwov1VkaRhwn6cvtLyBRi-20260720-145341.png "Image: Encrypt private key")
7. In the **Private key** box, enter your private key.

   ![Image: Enter Private key](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/hql3G-YR56h08h5lAt6ep-20260720-145341.png "Image: Enter Private key")
8. Under **Time for daily export (hh🇲🇲ss)**, select the time your product catalog should be exported.

   ![Image: Select time](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/GfrzYPl64Ghm8HtnA4XQq-20260720-145341.png "Image: Select time")
9. Save your changes.

   :::hint{type="info"}
   **Note**

   Coded values (Client ID, Private key) must be entered anew with each saving process. Otherwise the coded value is coded anew.
   :::

:::hint{type="info"}
**Note**

The product catalog export fails if the **Cron Jobs functionality** is incorrectly configured in Magento 2. This functionality is part of the standard installation. See the Magento 2 documentation for details.
:::
