# Set Up an SFTP Connection

You can set up data forwarding through an SFTP connection from the Data Forwarding page. Data forwarding through SFTP supports both transferring results data and images. To set up the connection, you need to provide a custom file path.

## Prerequisites

Before you start, ensure that the following prerequisites are met:

- The Unit is connected to the local network.

- You are subscribed to the devices from which you intend to forward data.

## Procedure

To set up an SFTP connection:

1. Click Create Connection on the Data Forwarding page.

2. Choose SFTP.

3. Configure your connection:

   1. Provide the Connection Name.

   2. Optionally, to help differentiate between connections, provide a custom Client ID.

   3. Choose the Authentication Method from the drop-down menu. Once you have selected the authentication method, the Connection Settings section appears in the page.

   Note: If you select Private Key, you must upload a Private Key file.

4. Define a custom file path.

   Note: You can use a mix of literals and tokens to set up the custom file path. Tokens are replaced object information at the time of forwarding (for example, triggerID, timestamp). Image information tokens are only available for forwarding images and are not replaced on other data types.

5. Enter the connection details based on which authentication method you have selected.

6. Choose the application data you want to forward and from which device. Under Device Data and Tunnel Data, you can choose specific data from each device by checking the corresponding box.

7. Click Save.

Your connection is now listed on the Data Forwarding page. You can edit, pause, and delete connections here.