Learn how to use Environments for testing and authentication.
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!
are isolated entities and are intended to be a safe place to create and
test different configurations. Environments serve as self-contained, secure domains
where diverse configurations can be created and tested. By default, a development
and a production environment are set up.
isProd
Name
Description
false
development
Use this default environment, and it’s associated test API keys, as you build with Flatfile.
true
production
When you’re ready to launch, create a new environment and swap out your keys.
The development environment does not count towards your paid credits.
Should the guestAuthentication be left unspecified, both magic_link and shared_link types are enabled by default.It’s important to note that guestAuthentication settings can be applied at both Environment and Space levels. However, in case of any conflicting settings, the authentication type set at the Space level will take precedence over the Environment level setting. This flexibility enables customization based on specific needs, ensuring the right balance of accessibility and security.