Deploy to Flatfile
Publish your code to Flatfile and move beyond this simple sandbox
The DevXP engineering team hosts office hours every Thursday at 11 a.m. Pacific Time where we answer your questions live and help you get up and running with Flatfile. Join us!
Listeners can be hosted anywhere. In this tutorial you’ve been hosting one on your your local machine. Once ready, you can deploy your listener directly on the Flatfile platform.
Deploying a listener
To deploy your listener to the Flatfile platform, simply use the CLI deploy
command in place of the develop
command.
The Flatfile CLI deploys to the environment from yoru secret key in your
.env
file. To change the target environment either update that file, or
overwrite that value by passing a different secrets key in via flags.
You’ve deployed! You should see console output that looks like this:
Now that your listener is deployed to the Flatfile platform, the transformations, validations, and actions you’ve configured will run server-side in our secure cloud.
Continue to make changes in your Workbook to watch them run. Want to check the output logs of your deployed listener (Agent)? Check out the “Event Logs” tab.
What’s next
Now that you know how to create a Space, where you go next depends on the what you’re trying to accomplish.
A few possibilities include the following: