# Source: https://docs.squared.ai/guides/sources/data-sources/sftp.md

# Source: https://docs.squared.ai/guides/destinations/retl-destinations/file-storage/sftp.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squared.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SFTP

> Learn how to set up a SFTP destination connector in AI Squared to efficiently transfer data to your SFTP server.

## Introduction

The Secure File Transfer Protocol (SFTP) is a secure method for transferring files between systems. Integrating SFTP with AI Squared allows you to efficiently transfer data to your SFTP server for storage or further distribution. This guide outlines the steps to set up an SFTP destination connector in AI Squared.

### Step 1: Access AI Squared

1. Log in to your AI Squared account.
2. Navigate to the **Destinations** section to manage your data destinations.

### Step 2: Create a New Destination Connector

1. Click on the **Add Destination** button.
2. Select **SFTP** from the list of available destination types.

### Step 3: Configure Connection Settings

Provide the following details to establish a connection between AI Squared and your SFTP server:

* **Host**: The hostname or IP address of the SFTP server.
* **Port**: The port number used for SFTP connections (default is 22).
* **Username**: Your username for accessing the SFTP server.
* **Password**: The password associated with the username.
* **Destination Path**: The directory path on the SFTP server where you want to store the files.
* **Filename**: The name of the file to be uploaded to the SFTP server, appended with the current timestamp.

Enter these details in the respective fields on the connector configuration page and press **Finish**.

### Step 4: Test the Connection

1. After entering the necessary information, use the automated **Test Connection** feature to ensure AI Squared can successfully connect to your SFTP server.
2. If the test is successful, you'll receive a confirmation message. If not, double-check your entered details for any errors.

### Step 5: Finalize the Destination Connector Setup

1. After a successful connection test, save the connector settings to establish the destination connection.

## Conclusion

By following these steps, you've successfully set up an SFTP destination connector in AI Squared. You can now efficiently transfer data to your SFTP server for storage or further distribution within AI Squared.