Skip to main content
This walks through installing the CLI, connecting it to your account, and confirming it points where you think it does.
1

Install the CLI

Or download a prebuilt binary — see Overview for all install options.
2

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.
3

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.
4

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 something

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

Authentication

Manage multiple environments with profiles.

Output & scripting

JSON output, exit codes, and CI usage.