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.

Go Deeper

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