This is the source code for the FiveTran function that is used to sync data from the Orb platform to a destination of your choice.
FiveTran setup can be done from their instructions, which involves creating a cloud function and deploying this source code. Further details about Orb data exports are here.