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!
For a production deployment, listeners can be hosted either in your cloud or directly on the Flatfile platform.
While your own cloud provides the maximum level of control over listener code, qualities such as availability and network performance are the responsibility of the hosting provider. Listeners may be securely deployed and run in the Flatfile platform cloud giving you a more consistent, low-latency, high-availability experience.
Once you have configured your Workbook, you can deploy your Workbook to your account at any time
by opening the terminal in the root directory and entering this command:
Add the file name to the command: npx flatfile deploy path-to-file if you’re
not running an index file.
You can deploy any change to your code at any time.For example, if you need to add a Sheet to an already existing Workbook, simply deploy again with the added Sheet and everything will update.
To deploy a second Agent without overwriting the first, you can specify a slug for the Agent:
Copy
Ask AI
npx flatfile@latest deploy -s my-second-agent
When you deploy with a slug, the CLI will create a new Agent with the specified slug. This allows you to deploy multiple Agents to the same environment.To update an existing Agent, you can specify the slug of the Agent you want to update by running the same command, including the slug.If you do not specify a slug and have only one or no deployed Agents the CLI will update your existing Agent, or create your first Agent. The slug for this agent will be default.
Regional servers are available upon request for those needing to host their applications closer to their user base, ensuring faster access and compliance with local data regulations. To deploy on a regional server, please contact our support team.