Skip to main content
Nightly is a developer-first platform for receiving, transforming, and sending files via SFTP. These docs will take you through the process of using the API to start accepting your first files from clients. Here’s an example of how easy it is to create an SFTP bucket and start receiving files from your customers:
index.ts
const nightly = new Nightly({ token: "******" });

// Create an SFTP bucket
const bucket = await nightly.buckets.create({
  name: "πŸš€",
});

// Provision a user
const user = await nightly.users.create({
  bucket_id: bucket.id,
  username: "user1",
  password: "********",
});

// πŸŽ‰ Ready to receive files!
console.log(`Ready to login: sftp ${user.username}@${bucket.host}`);

Getting Started

Start receiving customer files in under 5 minutes. Read our Getting Started guide.

Get an API Key

Get your API key from the dashboard

Reference APIs

Learn how to use the Nightly API

Go Deeper

Learn how to build advanced data processing pipelines using your Nightly infrastructure.

Pipelines

Transform received data using a pipeline before sending it to your application

EdTech Guides

Learn how EdTech startups use Nightly to move upmarket and support more district requirements

FinTech Guides

Learn how FinTech startups use Nightly to build pipelines for their transaction data (and more!)

Libraries

Use our open-source libraries to integrate with Nightly inside of your backend application