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!
EnvironmentsLearn more about Environments are isolated entities and are intended to be a safe place to create and test different configurations.
production environment are created on default.
Environments have two guest authentication types:
magic_linksends your guests an email with a magic link to login.
shared_linkmakes the Space url public, and is used with embedded Flatfile.
|false||Use this default environment, and it’s associated test API keys, as you build with Flatfile.|
|true||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.
Secret and publishable keys
All Accounts have two key types for each environment. Learn when to use each type of key:
|Secret key||On the server-side: Store this securely in your server-side code. Don’t expose this key in an application.|
|Publishable key||On the client-side: Can be publicly-accessible in your application’s client-side code. Use when embedding Flatfile.|