---
title: Configuring SFTP for Windows
slug: campaign/docs/configuring-sftp-for-windows
docTags: 
createdAt: 2026-07-20T15:44:20.380Z
---

This topic describes how to set up secure file transfer via *Secure File Transfer Protocol (SFTP)* for *Windows* using WinSCP. File transfer is often needed for data exchange when integrating external systems with Optimizely Campaign.

## Configuration steps

1. [Downloading and installing WinSCP](docId:71cMX-B0CHLlutcXdWpMg)
2. [Creating a key pair](docId:71cMX-B0CHLlutcXdWpMg)
3. [Transmitting keys to Optimizely](docId:71cMX-B0CHLlutcXdWpMg)
4. [Establishing a WinSCP connection](docId:71cMX-B0CHLlutcXdWpMg)

### [configuring-sftp-for-windows.mdx](docId:71cMX-B0CHLlutcXdWpMg)Step 1: Downloading and installing WinSCP

1. Click [http://winscp.net/eng/download.php](http://winscp.net/eng/download.php).
2. Click **Download**.
3. Run the setup program.

### [configuring-sftp-for-windows.mdx](docId:71cMX-B0CHLlutcXdWpMg)Step 2: Creating a key pair

1. Run the **PuTTYGen** program (part of WinSCP).

   ![Image: PuTTY Key Generator](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/4p4EaRj3Zlf0VUFT8jyhU-20260720-145239.jpg "Image: PuTTY Key Generator")

   1. **Parameters**: Select **RSA** (Optimizely only supports **RSA**).
   2. **Number of bits in a generated key**: Enter **2048**.
   3. Click **Generate**.
2. Make random computer mouse movements across a gray field to generate key values. A progress bar indicates the progress.

   ![Image: Generation in progress](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/d9AMKx-Qdg-vdTqgq-jYK-20260720-145239.jpg "Image: Generation in progress")

:::Paragraph{indent="1"}
When generation is completed, the keys are displayed.
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/DhyQywHmfY6W3Z-xZXXoQ-20260720-145239.jpg" size="100" caption="Image: PuTTY Key values" alt="Image: PuTTY Key values" isUploading="false" showCaption="true" indent="2"}

3.  Fill in the fields as follows:
   1. **Key comment**: Enter a description such as "Optimizely Campaign-\<your\_companyname>".
   2. **Key passphrase**: Enter a password. For security reasons, use at least an eight-digit word containing letters, numbers and special characters.
   3. **Confirm passphrase**. Enter the password again.
4. Click **Save public key**.
5. Click **Save private key**.

### [configuring-sftp-for-windows.mdx](docId:71cMX-B0CHLlutcXdWpMg)Step 3: Transmitting keys to Optimizely

1. Copy the public key and email it to Optimizely [customer support](docId\:ZWe1T3UPz3JW6_4mc76qV).
2. Copy the key fingerprint and email it *separately* to Optimizely [customer support](docId\:ZWe1T3UPz3JW6_4mc76qV).

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

   For security reasons, do not send the public key and key fingerprint together.
   :::
3. Optimizely sends a confirmation when your SFTP access is active.

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

Protect your keys from unauthorized access. If lost, immediately contact Optimizely and generate a new key pair as described above.
:::

### [configuring-sftp-for-windows.mdx](docId:71cMX-B0CHLlutcXdWpMg)Step 4: Establishing a WinSCP connection

1. Launch the WinSCP program.
2. In the login window, click **New Site**.

   ![WinWinScp 2024-01-10.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/PsP-KkMaW5K2povGlxQsf-20260720-145239.png)
3. Fill out the information as follows.
   - **Host name**: Enter *transfer.campaign.optimizely.com*.
   - **User name**: Enter name as provided by Optimizely.
4. Click **Advanced...**
5. Select **Environment** > **SFTP**.
6. Select **SSH > Authentication**, click **Browse (...)** in **Private key file** and select the previously generated private key.

   ![Image: Browse for Private key file](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/wpMQg_Az2j5OkC76H476k-20260720-145239.jpg "Image: Browse for Private key file")
7. Click **OK**.
8. Click **Save**, enter a name for the connection, and click **OK**.
9. In the **WinSCP login** window, select the connection name and click **Login**.
