Integrating with Paylocity (SFTP)
Paylocity sends Drivetrain scheduled reports as files over SFTP. You get the SFTP details in Drivetrain, add Drivetrain as an integration in Paylocity's reporting settings, then schedule reports to it.
Before you start
Drivetrain: you must be a Drivetrain administrator to add a data source.
Paylocity: access to Report & Analytics and Reporting Settings, and at least one report (for example a Dynamic report) you want to sync.
A key file: Paylocity authenticates with an SSH private key in PuTTY (.ppk) format. Make the key pair with PuTTYgen, choosing RSA with 4096 bits: Save private key gives the .ppk file for Paylocity, and the text box Public key for pasting into OpenSSH authorized_keys file is the public key for Drivetrain. If Paylocity rejects the .ppk file, save it again as PPK version 2 (in PuTTYgen, Key > Parameters for saving key files).
Step 1: Get your SFTP details in Drivetrain
In Drivetrain, go to the Data page and click the + icon at the top of the Data panel (or Add data source if nothing is connected yet).
In the Connect a data source window, click the Paylocity tile.
If asked How would you like to connect to Paylocity?, click SFTP.
Under Select authentication method, choose SSH Key, select Enter my own key, and paste your public key into Paste your SSH Key here.
Click View details. SFTP directory details shows the Host name, Port, Destination path, Username and your key (masked). Copy them, then click Done. Paylocity now appears in your Data panel.
Step 2: Add Drivetrain as an integration in Paylocity
In Paylocity, go to Report & Analytics and click the Reporting Settings tab.
Click Add Integration and enter:
Name: Drivetrain
Server/Host Name: the Host name from Step 1 (
sftp1.drivetrain.ai)Directory: the Destination path from Step 1
Port:
22User Name: the Username from Step 1
Authentication option: Upload key file
Upload file: your .ppk private key
Click Run Now to test the connection.
Step 3: Create or select a report
You can send any Paylocity report, including Saved Reports or new Dynamic Reports. To create a Dynamic report:
Go to Create Report → Dynamic.
Select the dataset (for example, Employee Record Information, Employee Position History or Employee Status History).


Choose the fields. Common ones: Employee ID, First name / Last name, Company code, Employment status, Hire date, Termination date, Department, Job title.

Save the report.
Step 4: Schedule the report for delivery
Open the report.

Click the â‹® (More Options) menu and select Schedule.
Set Frequency (Daily), Time (early morning, before your Drivetrain sync), Exclude Weekends (optional) and Time Zone.
Under What Reports Will Be Included, make sure your report is selected.
Under Delivery Options, select Deliver to integration: Drivetrain. Send Notification is optional.

Click Save. To test now, go to Schedules and click Run Now on the new schedule.

You can schedule more reports to the same Drivetrain integration without any extra setup.
What data comes in
After the first file arrives, choose which files to bring in: click Add data on the Paylocity data source and pick the files. Each choice becomes a dataset, and later deliveries with the same file name update it. If you don't see your files there, ask your customer success manager to select them. Drivetrain reads CSV (comma-separated) and Excel (.xlsx, .xls) files.
Drivetrain reads the directory at each sync (daily by default, or on a custom schedule if Sync schedule appears in the data source's menu). Files that arrive after a sync are picked up at the next one.
Troubleshooting
Last updated
Was this helpful?
