This walks through installing the CLI, connecting it to your account, and confirming it points where you think it does.
Run the guided setup
flexprice init walks you through picking a data region and pasting an API key, verifies the key against the API, and stores it in your OS keychain.The region menu is arrow-key driven. To skip both prompts entirely — in CI, for example — pass --region and --api-key.Confirm what you're pointed at
Worth doing before anything destructive: an API key belongs to exactly one environment, and this is the fastest way to catch pointing at the wrong one. See what you can act on
Lists every resource and the actions available on it. Then try a read:That footer names which profile and region actually served the request.
The banner, spinners, footers, and confirmation messages all go to stderr, never stdout. Piping or redirecting stdout gives you clean data with none of the commentary mixed in.
Creating resources with the CLI
Most resources take flags directly:
For a request body too deep to express as flags, open it in your editor with the required fields pre-filled:
Or supply it directly:
Destructive actions (delete, void, cancel, terminate, archive, finalize) ask for confirmation first. Off a terminal they refuse rather than proceeding — pass --force in scripts. See Output & scripting.
Next steps after the CLI quickstart
Authentication
Manage multiple environments with profiles.
Output & scripting
JSON output, exit codes, and CI usage.