Skip to main contentConnects your CLI to your Synth account and saves API keys locally.
Usage
Opens your browser to authenticate with Synth, then writes SYNTH_API_KEY
and ENVIRONMENT_API_KEY
to a .env
file in your current directory. Other commands (serve
, train
, etc.) will automatically use these keys.
Inputs:
- Browser authentication (automatic)
Outputs:
.env
file with API keys
- Confirmation message showing where keys were saved
Run this once per project. If you move to a different directory or clone a new repo, run it again.