# SFTP

## How to Send Data to Daasity using the Daasity SFTP Server

### How to set up Transmit software (recommended by Daasity) that will enable you to send files to Daasity via SFT

Setting up the SFTP takes 2 steps:

1. Configuring a connection to the Daasity SFTP Server
2. Transferring files to Daasity

{% hint style="success" %}
**You can watch a walk-through of these steps** [**here in this video**](https://youtu.be/pduEhxq0Xbc)
{% endhint %}

{% hint style="danger" %}
**These instructions assume the user has already been set up in the Daasity SFTP server.** &#x20;
{% endhint %}

This means:

* The merchant user has completed the instructions to generate an SSH key, simple docs on [**setting up SSH and DB connection here**](https://docs.google.com/document/d/1Q_1cnUR8OxG0HjAj92zrSPLpRkPm8gNpv2D_SdrFIZQ/edit#heading=h.bx20h6b2n59d)
* The merchant user has submitted the public key, of the SSH key pair to Daasity (Email: <Suport@daasity.com>
* Daasity DevOps team has created the SFTP user with the supplied SSH public key
* Daasity team has sent the SFTP user credential and SFTP folder to the merchant user

{% hint style="danger" %}
The convention for the folder is the merchant account id. e.g. **daasity-sftp/1f1ff7dc-dd0c-42a6-82ea-d166e4565753**
{% endhint %}

We recommend using Transmit 5 (by Panic Software): [transmit web site.](https://www.panic.com/transmit/)

#### ![How to Send Data to Daasity SFTP](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP.png)

## Configuring a Connection to the Daasity SFTP Server

### Open Transmit App.  Click the "+" button at the bottom.

![How to Send Data to Daasity SFTP - Config](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Config.png)\
OR

Menu option Servers > Add New Server.

![How to Send Data to Daasity SFTP - Server](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Server.png)

### Enter the Name of the Connection: e.g. **Daasity SFTP.**  ![How to Send Data to Daasity SFTP - Connection](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Connection.png)

### Enter the username supplied by Daasity in the User Name.  ![How to Send Data to Daasity SFTP - User](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20User.png)

### Choose the Private Key option for the Password.

Click the Key.

You will likely need to Edit the key list to add your private key.\
\
![How to Send Data to Daasity SFTP - Password](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Password.png)

Click the Edit option.

The Key dialog will open.

Click the \[+] in the bottom left and choose Import Keys.

![How to Send Data to Daasity SFTP - Keys](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Keys.png)\
Go to the SSH folder.\
\~/.ssh

![How to Send Data to Daasity SFTP - SSH](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20SSH.png)\
Choose your key, typically it is **id\_rsa.**

Click import.

\
![How to Send Data to Daasity SFTP - Import](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Import.png)

Choose that key.

You will see that key selected in the connection.

### Save to Create the Connection.  ![How to Send Data to Daasity SFTP - Path](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Path.png)

### Set the Remote Path to the Path that was Supplied by the Daasity team.

#### ![How to Send Data to Daasity SFTP - Path](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Path.png)

## Transfer files to Daasity

### Open the Transmit App.

### Choose the Daasity SFTP connection you've just created.

### Navigate to your specific folder as sent by Daasity.

![How to Send Data to Daasity SFTP - Transfer](https://info.daasity.com/hubfs/Knowledge%20Base/General/FAQ/How%20to%20Send%20Data%20to%20Daasity%20SFTP%20-%20Transfer.png)
