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

# Stedi SFTP/FTPS Connections

Stedi creates and hosts a fully-managed server that supports both SFTP and FTPS protocols, along with user credentials you can provide to your trading partner. Your trading partner can use their credentials to connect to the server through either SFTP (using port 22), or FTPS (using port 21).

Once you configure the connection, Stedi automatically ingests and processes any files that your trading partner adds to the server and automatically places outbound EDI files on the server for your trading partner to retrieve.

This is the easiest way to get started exchanging EDI files with the least amount of configuration. However, your trading partner may require you to use their server instead, especially if they are the larger party.

<Tip>
  The Stedi SFTP/FTPS connection type supports only username and password
  authentication. If your trading partner requires key-based authentication, you
  can use a [Remote SFTP/FTPS
  connection](/edi-platform/configure/trading-partners/connections/remote-ftp)
  instead.
</Tip>

## Create SFTP/FTPS connections

To create a Stedi SFTP/FTPS connection:

1. Select **SFTP/FTPS** as the **Connection type**.
2. Stedi generates an internal **Connection name**. This is never visible to your trading partner and is used for unique identification with your Stedi account only. You can specify a custom name if desired. You cannot edit the name after the connection has been created.
3. Leave **ISA validation options** as **Default** unless you're very sure you need a different setting for your use case.
4. If required, provide a specific length for the autogenerated password.
5. Specify an **Inbound directory**. This is the directory that your trading partner will use to send files to you. Any file placed in this directory will be automatically ingested and processed. The default directory is `/inbound` but you can specify a different directory if needed.
6. Specify an **Outbound directory**. This is the directory that your trading partner will use to retrieve files from you. Outbound EDI files will be automatically deposited in this directory. The default directory is `/outbound` but you can specify a different directory if needed.
7. By default, **Delete inbound files on receipt** is selected. Typically, partners want you to delete files after processing. If you want to keep the files, deselect this option.
8. Click **Create connection**. Stedi shows the login credentials for the created user.

<Warning>
  **Important:** The login credentials will only be displayed once and cannot be
  retrieved again for security reasons. We recommend immediately saving the
  login credentials in a secure location such as a password manager. If needed,
  you can always [regenerate new credentials](#regenerate-credentials).
</Warning>

You can now associate this connection with one or more [transaction settings](/edi-platform/configure/trading-partners/transaction-settings) and use it to exchange files with your trading partner.

## Regenerate credentials

To generate new login credentials:

1. Navigate to the **Trading partners** page.
2. Click the partnership that contains the connection whose credentials you want to regenerate.
3. Click the **Edit** button.
4. Under the **Username** field, click **Regenerate credentials**.

## Static IPs

Some partners will need to know Stedi SFTP/FTPS's IP addresses in order to allow internal systems to establish a connection. Stedi SFTP/FTPS uses the following IPs:

`18.119.51.218` and `18.206.132.233`

<Warning>
  These IPs apply only to Stedi-hosted SFTP/FTPS. You can enable different
  static IPs for Remote SFTP/FTPS in [EDI
  Settings](/edi-platform/configure/global-settings).
</Warning>

## Status and details

You can find details about each Stedi SFTP/FTPS connection on its overview page. To view the overview page, navigate to the partnership and click the connection's name.
