After this article
You’ll be able to connect an SFTP server to Lumos to ingest file-based data, such as invoice or spend records, delivered as CSV files. This connector syncs spend records, not user accounts. To ingest user and access data from CSV files on an SFTP server, use the flat file connector instead; see Connecting Flat Files with Lumos.Capabilities
Required plan and roles
- SFTP server access: an SFTP server administrator who can create a user account that signs in with an SSH key Lumos generates, plus the server’s hostname and the folder path Lumos should read.
- Files: at least one CSV file in that folder before you connect. Lumos reads
.csvfiles, and.csv.gpgfiles when you turn on PGP decryption.
Read-only access vs provisioning
Is read-only possible? Yes, and it’s the only mode this connector supports. SFTP ingests files (such as invoice or spend records) and never writes back. The Capabilities table marks Provision as unsupported for file-based data, and no user accounts sync at all. What read-only requires. An SFTP user account set up with the SSH public key Lumos generates, the server’s hostname, and the folder where the files are delivered. Follow the steps below. Watch out for. Because this connector never syncs user accounts, a full integration sync will report “No accounts found” even while your file data keeps arriving normally. That message is expected for this connector and doesn’t indicate a failure.Instructions
Phase 1: Generate keys in Lumos- Find the SFTP card in your Lumos integrations and open it.
- Click Get SSH Key and copy the SSH public key. This also fills in the App Instance Identifier field.
- (Optional) To encrypt your files on the server, click Get PGP Key and copy the PGP public key.
- Give the SSH public key to your SFTP server administrator, and have them set up a user account for Lumos that signs in with that key and can read the target folder.
- If you generated a PGP key, encrypt every file in the folder with the PGP public key.
- Upload at least one CSV file to the folder. Use the exact header names listed under View CSV file header specification on the connection card, so Lumos can parse your records.
- On the SFTP card, enter:
- Hostname: the hostname of your SFTP server.
- Username: the username set up with the SSH public key.
- Folder path: the location of the files, for example
/lumos/invoices. - Use PGP key decryption: check this only if you encrypted the files with the PGP public key.
- If the card also shows a Data Type field, choose Expenses or Invoices. Each data type needs its own connection.
- Click Connect. Lumos lists the folder and reads at least one file to confirm the connection works.