Introducing Stash:Store and retrieve key-value dataLearn more
Stedi
Sign inBook a demoStart building
Try Stedi free

Start building an EDI system of your own.
No credit card required!

Sign Up Learn More
Blog July 12, 2022

Introducing serverless SFTP and infinitely-scalable data storage

Kasia Fojucik

Building an EDI system or B2B integration requires a secure, scalable way to exchange files with trading partners. With Stedi SFTP, developers can provision users and begin transferring files in seconds. Files received via Stedi SFTP are immediately available in Stedi Buckets - a simple, reliable data store – for further processing. With a usage-based pricing model and no servers to manage, builders can easily offer SFTP connectivity to their trading partners as part of a new or existing B2B workflow without incurring fixed costs or operational overhead.

Starting today, both Stedi SFTP and Buckets are now Generally Available.

Features

  • Provision SFTP users via the Stedi dashboard or the API
  • Securely manage credentials
  • Scale to an unlimited number of trading partners
  • Send, receive, and store an unlimited number of files

Where Stedi SFTP fits in

Stedi SFTP works for any workflow requiring file transfer between trading partners. If you’re building an EDI integration, you could use Stedi SFTP to:

  • Receive EDI files from your trading partner via SFTP, and retreive those files using the Buckets SDK
  • Using the Buckets SDK, send EDI files for your trading partner to pick up via SFTP.

Stedi SFTP is fully integrated with Stedi Buckets. When you upload files programmatically via the Buckets SDK, those files are available to your trading partner via their SFTP credentials. And each time your trading partner uploads files via SFTP, those files are available via the Buckets SDK, too. Check out the Buckets documentation for more details.

A diagram showing how Buckets work

Using Stedi SFTP

The first step is to create an SFTP user, which you can do via the SFTP UI or via the API. Once you have the generated credentials, you can connect to the SFTP endpoint using your favorite SFTP client:

sftp WL9F11A9@data.sftp.us.stedi.com

WL9F11A9@data.sftp.us.stedi.com's password:
Connected to data.sftp.us.stedi.com.
sftp>

After you've uploaded a file via your SFTP client, you can retrieve the file via Stedi's Buckets SDK using the following code:

// Stedi SDK example for GetObject from your local machine

import { BucketsClient, GetObjectCommand } from "@stedi/sdk-client-buckets";
import consumers from 'stream/consumers';

// Enter your Stedi API key here
const apiKey = "<your-stedi-api-key>"; // Change this to your Stedi API key

async function main() {

 // create a new BucketsClient to the Stedi US region
 const stediclient = new BucketsClient({
  region: "us",
  apiKey: apiKey
 });

 // Prepare a GetObject command
 const getObject = new GetObjectCommand(
  {
   bucketName: "your-stedi-bucket" // Change this to your existing Bucket name
   key: "document.txt" // Change this to an existing object name
  }
 );

 // Send the request to GetObject request to Stedi
 const getObjectOutput = await stediclient.send(getObject);

 // Pretty print the object output
 console.log(await consumers.text(getObjectOutput.body));

}

// Run the main function
main();

In this example, we've printed the file as a string, but you could also write it to a file on your disk.

Stedi SFTP pricing

Stedi SFTP is billed based on the number of files and the amount of data uploaded and downloaded. There are no minimum fees, no monthly commitments, and no upfront costs to use Stedi SFTP. Visit the pricing page for more details.

SFTP is backed by Stedi Buckets for file storage and retrieval, and related storage and data transfer charges will be billed separately. Visit the pricing page for more details.

Stedi SFTP and Stedi Buckets are now Generally Available

Stedi SFTP offers a hassle-free way to provision SFTP access as part of your EDI solution or B2B integration, without any operational overhead or minimum cost. It gives developers the ability to configure SFTP access for their trading partners via the UI or API. Developers can programmatically access the same files using the Stedi Buckets SDK.

It's easy to try out for yourself. The User Guide describes how to get started with SFTP. For all the details, check out the API reference for SFTP and Buckets. We have a generous free tier, so there's no need to worry about costs while you're experimenting.

Get started today.

Featured
SFTP
Exchange files over serverless SFTP

Serverless SFTP endpoint for exchanging files at any volume. Provision users instantly via API and send an unlimited number of files, without any operational overhead.

Try SFTP Learn more 
Buckets
Object storage for all your documents

Access data uploaded to an SFTP endpoint, read/write documents and build powerful integrations based on document events.

Share
Previous
Transaction set variants in the Amazon 850 Purchase Order
Subscribe

Get blog posts delivered to your inbox.

Stedi

Stedi is a developer-focused platform for building automated EDI solutions that integrate with any business system.

Sign up to get an API key and try Stedi’s pay-⁠per-⁠use products with generous free tiers.

Start building
Products
EDI CoreMappingsConverterSFTPBucketsFunctionsStash
Follow
  1. Twitter
  2. GitHub
Backed by
AdditionBloomberg BetaFirst RoundStripeUSV
Customer AgreementService TermsPrivacy Notice

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.