Embed an SFTP integration in your product
Add SFTP to your product for your customers, and give your AI agents governed access to it.
SFTP moves files over an SSH connection, which is what separates it from FTPS: one encrypted channel on one port, authentication by password or private key, and a host key the client is expected to verify before it trusts anything. An embedded SFTP integration lists folders, downloads and uploads files, renames and moves them, reads file information, changes permissions where the account is allowed to, and can watch a directory so a delivered file starts your workflow. Each customer supplies their own host, port, credentials or key and the paths they are willing to expose, so nothing is shared between tenants. fastn holds those keys, reuses connections, pages through large listings and logs every transfer per tenant.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let each customer connect their own SFTP host, authenticating with a private key or a password depending on what that server accepts.
- Watch an inbound directory so a file a trading partner drops overnight starts your workflow when it lands.
- Upload a generated export to the outbound path a customer's downstream system already collects from.
- Rename or move a file once it has been processed, so the same delivery is never picked up twice.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent searches a directory tree for the file matching a reference before reading anything.
- An agent reads a delivered file and answers from its contents rather than from a summary somebody typed.
- An agent writes a generated file to the agreed path within governed permissions, with the transfer recorded.
Example prompt
Find the newest settlement file on the customer's SFTP host, read it, and tell me which rows failed validation.
Set up SFTP in 4 steps
- 01Open the SFTP connector from your fastn dashboard.
- 02Have each customer supply their own host and port, a username with a password or private key, and the host key to trust.
- 03Agree which directories your product may read and write, describe the file names and formats you expect, then enable the actions and the new-file trigger.
- 04Call them from your product, or expose the same connection to an agent through the MCP server.
Why teams use the SFTP integration
- Ship an SFTP integration without building it. Your customers point it at their own endpoint and credentials and work their files, documents and versions through it, and nothing lands on your team.
- Handle the part that actually costs time: permissions and versioning are easy to get subtly wrong, and mistakes expose content. fastn handles the auth, token refresh, rate limits and pagination, and when SFTP changes, its maintainer agent proposes a tested fix, so an SFTP update does not start in your backlog.
Used by these teams
Often used alongside
Tools the same teams tend to run next to SFTP, across other categories.
More in Content & Documents
Other Content & Documents apps your customers can connect the same way. All Content & Documents integrations
SFTP integration FAQ
How is an SFTP integration configured per customer?
SFTP is a specification rather than a service you sign up for, so there is no SFTP account. Each customer supplies their own endpoint and credentials, and that integration is scoped to them, so they only ever reach their own files, documents and versions.
Can AI agents use this SFTP integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent searches a directory tree for the file matching a reference before reading anything. For example: "Find the newest settlement file on the customer's SFTP host, read it, and tell me which rows failed validation."
Whose permissions does the SFTP integration run under?
Each customer's own SFTP grant. Where SFTP holds a library, their existing folder and item permissions apply and your product cannot reach content the connected account could not reach itself. Where it processes content you supply rather than storing it, the call runs under that customer's own credentials and is logged per tenant.
Can my product create or update content in SFTP automatically?
Where SFTP supports writes, documents, entries and assets can be created, updated and filed from your product or by an agent within scoped permissions, with each action logged. Where it is a read surface, the same connection serves reads only.
What can I build with the SFTP integration?
A common starting point: let each customer connect their own SFTP host, authenticating with a private key or a password depending on what that server accepts. The use cases above list the rest.
Add SFTP to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.