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.
flexprice init
███████╗██╗ ███████╗██╗ ██╗██████╗ ██████╗ ██╗ ██████╗███████╗██╔════╝██║ ██╔════╝╚██╗██╔╝██╔══██╗██╔══██╗██║██╔════╝██╔════╝█████╗ ██║ █████╗ ╚███╔╝ ██████╔╝██████╔╝██║██║ █████╗██╔══╝ ██║ ██╔══╝ ██╔██╗ ██╔═══╝ ██╔══██╗██║██║ ██╔══╝██║ ███████╗███████╗██╔╝ ██╗██║ ██║ ██║██║╚██████╗███████╗╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═════╝╚══════╝Usage-based billing from your terminalWelcome to Flexprice — let's get you set up.? Data region > us https://us.api.flexprice.io/v1 in https://api.cloud.flexprice.io/v1API key: ••••••••••••••••••••⠹ Verifying your key…✓ Verified — stored as profile "default"
The region menu is arrow-key driven. To skip both prompts entirely — in CI, for example — pass --region and --api-key.
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
flexprice resources
Lists every resource and the actions available on it. Then try a read:
flexprice customers list
ID NAME STATUS CREATED_ATcust_01J8XABCDEF Ada Lovelace active 2026-01-02cust_02 Grace Hopper archived 2026-03-14profile: default · region: us · v1.0.1
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.
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.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Flexprice","colors":{"primary":"#15547c","light":"#2580b5","dark":"#134a6b"},"logo":{"light":"https://mintcdn.com/flexprice/Qokjirde4CQUcFy8/images/FlexpriceWordMarkDark.png?fit=max\u0026auto=format\u0026n=Qokjirde4CQUcFy8\u0026q=85\u0026s=d706a1b6139418c2d57ba902fb0b6de4","dark":"https://mintcdn.com/flexprice/Qokjirde4CQUcFy8/images/FlexpriceWordMarkLight.png?fit=max\u0026auto=format\u0026n=Qokjirde4CQUcFy8\u0026q=85\u0026s=3fe3d9881552f4ebecb6f6aa7cfe2f66"},"favicon":"https://mintcdn.com/flexprice/Qokjirde4CQUcFy8/doc.png?fit=max\u0026auto=format\u0026n=Qokjirde4CQUcFy8\u0026q=85\u0026s=7e9ab0952b828b96d03f9298571462a4","api":{"examples":{"languages":["curl","python","typescript","go"]}},"background":{"decoration":"gradient","color":{"light":"#fffdf8","dark":"#010b13"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://admin.flexprice.io/"}},"footer":{"socials":{"github":"https://github.com/flexprice/flexprice","linkedin":"https://www.linkedin.com/company/flexpriceio","website":"https://flexprice.io/","x":"https://x.com/tryflexprice"}},"fonts":{"family":"Geist"},"integrations":{"ga4":{"measurementId":"G-9RV8NDCXNN"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Support","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/mail.svg","href":"mailto:support@flexprice.io"},{"anchor":"Community","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/slack.svg","href":"https://join.slack.com/t/flexpricecommunity/shared_invite/zt-39uat51l0-n8JmSikHZP~bHJNXladeaQ"},{"anchor":"Website","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/flexprice.svg","href":"https://flexprice.io/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flexprice","hasAudioNarration":false,"actualSubdomain":"flexprice","customDomains":["docs.flexprice.io"],"gitSource":{"type":"github","owner":"flexprice","repo":"flexprice-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b03ca107a57ff01f3ea550b","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":356},{"language":"default","tag":"Resources","count":274},{"language":"default","tag":"Developers","count":170},{"language":"default","tag":"Documentation","count":144},{"language":"default","tag":"Integrations","count":110},{"language":"default","tag":"Webhooks","count":85},{"language":"default","tag":"Subscriptions","count":48},{"language":"default","tag":"CLI","count":40},{"language":"default","tag":"Cookbooks","count":38},{"language":"default","tag":"Pricing Teardowns","count":35}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@flexprice.io","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nh1{font-family:'DM Sans', sans-serif;font-weight:700!important;letter-spacing:-0.01em!important}.title,[data-title],.page-title,.section-title{font-family:'DM Sans', sans-serif;font-weight:400;letter-spacing:0.025em!important}.nav-logo{height:22px}[class*=\"nav\"] a[href*=\"admin.flexprice.io\"],[class*=\"Navbar\"] a[href*=\"admin.flexprice.io\"]{background-color:#134a6b!important;color:#ffffff!important;font-weight:500;border-radius:6px;padding:0.5rem 1rem}[class*=\"nav\"] a[href*=\"admin.flexprice.io\"]:hover,[class*=\"Navbar\"] a[href*=\"admin.flexprice.io\"]:hover{background-color:#0d3d5c!important;color:#ffffff!important}.content-area,.\\32xl\\:max-w-2xl{max-width:50rem!important}.nav-anchor:hover>div{background-color:rgba(21, 84, 124, 0.08)!important}.dark .nav-anchor:hover>div{background-color:rgba(255, 255, 255, 0.08)!important}.nav-anchor img{background-color:transparent!important}.dark .nav-anchor img[src*=\"anchors/flexprice\"]{filter:brightness(0) invert(1)}"}]}
{"page":{"pagePath":"docs/cli/quickstart","slug":"/docs/cli/quickstart","pageMetadata":{"title":"Quickstart","description":"Authenticate the Flexprice CLI and run your first commands in under five minutes","href":"/docs/cli/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Authenticate the Flexprice CLI and run your first commands in under five minutes\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Note,Step,Steps,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This walks through installing the CLI, connecting it to your account, and confirming it points where you think it does.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Install the CLI`,children:[_jsx(_components.p,{children:`On macOS or Linux:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://cli.flexprice.io`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`For Windows, Go installation, or prebuilt binaries, see `,_jsx(_components.a,{href:`/docs/cli/overview#installing-the-flexprice-cli`,children:`installation options`}),`.`]})]}),_jsxs(Step,{title:`Run the guided setup`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`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.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`})]}),`\n`]})})}),_jsx(CodeBlock,{numberOfLines:`18`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`███████╗██╗ ███████╗██╗ ██╗██████╗ ██████╗ ██╗ ██████╗███████╗`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`██╔════╝██║ ██╔════╝╚██╗██╔╝██╔══██╗██╔══██╗██║██╔════╝██╔════╝`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`█████╗ ██║ █████╗ ╚███╔╝ ██████╔╝██████╔╝██║██║ █████╗`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`██╔══╝ ██║ ██╔══╝ ██╔██╗ ██╔═══╝ ██╔══██╗██║██║ ██╔══╝`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`██║ ███████╗███████╗██╔╝ ██╗██║ ██║ ██║██║╚██████╗███████╗`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═════╝╚══════╝`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Usage-based billing from your terminal`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Welcome to Flexprice — let's get you set up.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`? Data region`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` > us https://us.api.flexprice.io/v1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` in https://api.cloud.flexprice.io/v1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`API key: ••••••••••••••••••••`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`⠹ Verifying your key…`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✓ Verified — stored as profile \"default\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`The region menu is arrow-key driven. To skip both prompts entirely — in CI, for example — pass `,_jsx(_components.code,{children:`--region`}),` and `,_jsx(_components.code,{children:`--api-key`}),`.`]})]}),_jsxs(Step,{title:`Confirm what you're pointed at`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` whoami`})]}),`\n`]})})}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Profile: default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Region: us`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Base URL: https://us.api.flexprice.io/v1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Key backend: encrypted file (~/.flexprice/keys)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Key: sk_test_…4b`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`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.`})]}),_jsxs(Step,{title:`See what you can act on`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` resources`})]}),`\n`]})})}),_jsx(_components.p,{children:`Lists every resource and the actions available on it. Then try a read:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` customers`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ID NAME STATUS CREATED_AT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cust_01J8XABCDEF Ada Lovelace active 2026-01-02`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cust_02 Grace Hopper archived 2026-03-14`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`profile: default · region: us · v1.0.1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`That footer names which profile and region actually served the request.`})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The banner, spinners, footers, and confirmation messages all go to `,_jsx(_components.strong,{children:`stderr`}),`, never stdout. Piping or redirecting stdout gives you clean data with none of the commentary mixed in.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`creating-resources-with-the-cli`,children:`Creating resources with the CLI`}),`\n`,_jsx(_components.p,{children:`Most resources take flags directly:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` customers`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --external_id=acme`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --email=billing@acme.com`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✓ Created customer cust_01J8XGHIJKL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`For a request body too deep to express as flags, open it in your editor with the required fields pre-filled:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` subscriptions`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --edit`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Or supply it directly:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`flexprice`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` subscriptions`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @subscription.json`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Destructive actions (`,_jsx(_components.code,{children:`delete`}),`, `,_jsx(_components.code,{children:`void`}),`, `,_jsx(_components.code,{children:`cancel`}),`, `,_jsx(_components.code,{children:`terminate`}),`, `,_jsx(_components.code,{children:`archive`}),`, `,_jsx(_components.code,{children:`finalize`}),`) ask for confirmation first. Off a terminal they `,_jsx(_components.strong,{children:`refuse`}),` rather than proceeding — pass `,_jsx(_components.code,{children:`--force`}),` in scripts. See `,_jsx(_components.a,{href:`/docs/cli/output-and-scripting`,children:`Output \u0026 scripting`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps-after-the-cli-quickstart`,children:`Next steps after the CLI quickstart`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{icon:`https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=c4cb688f856c0220b98df08ff5f0bc1c`,title:`Authentication`,href:`/docs/cli/authentication`,\"data-og-width\":`32`,width:`32`,\"data-og-height\":`32`,height:`32`,\"data-path\":`images/developers/icons/key.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=280\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=e93fc8e101dc34e4d03d390272c84f21 280w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=560\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=f81c5e4df2d73f73d89e95a7bad31ef9 560w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=840\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=e81646462582a142d3c4de6726edc134 840w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=176bd04caa2bcbb7c8b15ab7465b2dd7 1100w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=3a497eb53631638e4e5eccfdd2803ebb 1650w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/key.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=88b84169665ab6710f97ba8ab4366a9e 2500w`,children:_jsx(_components.p,{children:`Manage multiple environments with profiles.`})}),_jsx(Card,{icon:`https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=008d37c46339c4b9213480da059060d6`,title:`Output \u0026 scripting`,href:`/docs/cli/output-and-scripting`,\"data-og-width\":`32`,width:`32`,\"data-og-height\":`32`,height:`32`,\"data-path\":`images/developers/icons/code.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=280\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=342be94d23b65e16d13b6ebaa5b1e814 280w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=560\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=81babb91a6cdb778980d5fd0016b8d89 560w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=840\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=729beccc47424c8515720073e16b3a81 840w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=2d5dc6f9f6d782841f3872377542decb 1100w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=34e7d11723ebf034e5ea85949b663f87 1650w, https://mintcdn.com/flexprice/G4Mu88HxYrwMrXoR/images/developers/icons/code.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=G4Mu88HxYrwMrXoR\u0026q=85\u0026s=961e3e6844327503f89047da599ca418 2500w`,children:_jsx(_components.p,{children:`JSON output, exit codes, and CI usage.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quickstart","description":"Authenticate the Flexprice CLI and run your first commands in under five minutes","href":"/docs/cli/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Creating resources with the CLI","slug":"creating-resources-with-the-cli","depth":2,"children":[]},{"title":"Next steps after the CLI quickstart","slug":"next-steps-after-the-cli-quickstart","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/flexprice/c6cd5bf06bcd0181/reo-tracking.js"],"subdomain":"flexprice","siteName":"Flexprice","title":"Quickstart - Flexprice","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T05:22:45.009Z","originalFileLocation":"docs/cli/quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Authenticate the Flexprice CLI and run your first commands in under five minutes\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flexprice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart - Flexprice\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate the Flexprice CLI and run your first commands in under five minutes\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flexprice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flexprice.io/docs/cli/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flexprice.mintlify.site/_mintlify/api/og/v2?division=CLI\u0026amp;title=Quickstart\u0026amp;description=Authenticate+the+Flexprice+CLI+and+run+your+first+commands+in+under+five+minutes\u0026amp;theme=f807a64d2789751a0e0d2df7\u0026amp;signature=1f9c538086451af07b812d44dc6fb683ef4212f22e432a21bf65f9af8becd876\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quickstart - Flexprice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate the Flexprice CLI and run your first commands in under five minutes\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flexprice.mintlify.site/_mintlify/api/og/v2?division=CLI\u0026amp;title=Quickstart\u0026amp;description=Authenticate+the+Flexprice+CLI+and+run+your+first+commands+in+under+five+minutes\u0026amp;theme=f807a64d2789751a0e0d2df7\u0026amp;signature=1f9c538086451af07b812d44dc6fb683ef4212f22e432a21bf65f9af8becd876\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/flexprice/7xM46OYu1enH2rig/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flexprice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15547c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flexprice.io/docs/cli/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cli/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flexprice.io/#organization\",\"name\":\"Flexprice\",\"url\":\"https://docs.flexprice.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flexprice/Qokjirde4CQUcFy8/images/FlexpriceWordMarkDark.png?fit=max\u0026auto=format\u0026n=Qokjirde4CQUcFy8\u0026q=85\u0026s=d706a1b6139418c2d57ba902fb0b6de4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flexprice.io#website\",\"name\":\"Flexprice\",\"url\":\"https://docs.flexprice.io\",\"publisher\":{\"@id\":\"https://docs.flexprice.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flexprice.io/docs/cli/quickstart#webpage\",\"url\":\"https://docs.flexprice.io/docs/cli/quickstart\",\"name\":\"Quickstart\",\"description\":\"Authenticate the Flexprice CLI and run your first commands in under five minutes\",\"dateModified\":\"2026-09-25T05:22:45.009Z\",\"isPartOf\":{\"@id\":\"https://docs.flexprice.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flexprice.io/docs/cli/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flexprice.io/docs/cli/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developers\",\"item\":\"https://docs.flexprice.io/developers/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI\",\"item\":\"https://docs.flexprice.io/docs/cli/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Quickstart\",\"item\":\"https://docs.flexprice.io/docs/cli/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.flexprice.io/docs/cli/quickstart#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Authenticate the Flexprice CLI and run your first commands in under five minutes\",\"url\":\"https://docs.flexprice.io/docs/cli/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flexprice.io/docs/cli/quickstart#webpage\"},\"dateModified\":\"2026-09-25T05:22:45.009Z\",\"publisher\":{\"@id\":\"https://docs.flexprice.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flexprice.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flexprice\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Flexprice\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/cli/quickstart.md","siteName":"Flexprice","nav":{"global":{"anchors":[{"anchor":"Support","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/mail.svg","href":"mailto:support@flexprice.io"},{"anchor":"Community","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/slack.svg","href":"https://join.slack.com/t/flexpricecommunity/shared_invite/zt-39uat51l0-n8JmSikHZP~bHJNXladeaQ"},{"anchor":"Website","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flexprice/images/anchors/flexprice.svg","href":"https://flexprice.io/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/welcome-to-flexprice"}]},{"tab":"Cookbooks","pages":[{"title":"Cookbooks","href":"/cookbooks/billing-recipes/usage-based-pricing"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Developers","groups":[{"group":"Developers","pages":[{"title":"Developer Hub","mode":"wide","href":"/developers/overview"},{"title":"API reference","href":"/developers/api-reference"},{"group":"AI and agents","pages":[{"title":"Model Context Protocol (MCP)","href":"/docs/connect/mcp-server"},{"group":"Flexprice for Slack","root":{"title":"Flexprice for Slack","href":"/developers/ai/slack/overview"},"pages":[{"title":"Install and connect the Slack app","href":"/developers/ai/slack/install-and-connect"},{"title":"Ask billing questions in Slack","href":"/developers/ai/slack/ask-questions"},{"title":"Confirm changes from Slack","href":"/developers/ai/slack/confirm-changes"},{"title":"Slack app security and privacy","href":"/developers/ai/slack/security-and-privacy"},{"title":"Troubleshoot the Slack app","href":"/developers/ai/slack/troubleshooting"}]},{"title":"Agent Skills","href":"/developers/ai/agent-skills"}]},{"group":"SDKs","root":{"title":"SDKs","href":"/developers/sdks/overview"},"pages":[{"title":"Using the SDKs","href":"/developers/sdks/usage"},{"title":"Example app","href":"/developers/sdks/example-app"}]},{"group":"UI kit","root":{"title":"UI Kit","href":"/docs/exportable-ui/overview"},"pages":[{"title":"Install the UI kit","href":"/developers/frontend/install"},{"title":"Fetch entitlements and usage on the client","href":"/developers/frontend/fetch-entitlements-and-usage"},{"title":"Harden client-side access","href":"/developers/frontend/harden-client-access"},{"title":"Storybook","href":"/developers/frontend/storybook"},{"group":"Components","pages":[{"group":"Pricing","pages":[{"title":"Pricing Table","href":"/docs/exportable-ui/pricing-widget/pricing-table"},{"title":"Pricing Card","href":"/docs/exportable-ui/pricing-widget/pricing-card"}]},{"group":"Usage Widgets","root":{"title":"Usage Widgets","href":"/docs/exportable-ui/usage-widgets/usage-widgets"},"pages":[{"title":"Metric Cards","href":"/docs/exportable-ui/usage-widgets/metric-cards"},{"title":"Usage Trend Chart","href":"/docs/exportable-ui/usage-widgets/usage-trend-chart"},{"title":"Usage Breakdown","href":"/docs/exportable-ui/usage-widgets/usage-breakdown"},{"title":"Usage Quota","href":"/docs/exportable-ui/usage-widgets/usage-quota"}]},{"group":"Credits Widgets","root":{"title":"Credits Widgets","href":"/docs/exportable-ui/credits-widgets/credits-widgets"},"pages":[{"title":"Credit Balance","href":"/docs/exportable-ui/credits-widgets/credit-balance"},{"title":"Credit History","href":"/docs/exportable-ui/credits-widgets/credit-history"}]}]}]},{"group":"CLI","root":{"title":"Flexprice CLI","description":"Drive usage-based billing from your terminal: send events, inspect metering, and reach every Flexprice API endpoint","href":"/docs/cli/overview"},"pages":[{"title":"Quickstart","href":"/docs/cli/quickstart"},{"title":"Authentication","description":"How API keys, environments, and profiles fit together in the Flexprice CLI","href":"/docs/cli/authentication"},{"title":"Global flags","href":"/docs/cli/global-flags"},{"title":"Output \u0026 scripting","href":"/docs/cli/output-and-scripting"},{"group":"Command reference","root":{"title":"CLI Command Reference","href":"/docs/cli-reference/overview"},"pages":[{"group":"Catalog","pages":[{"title":"Plans CLI Commands","sidebarTitle":"Plans","href":"/docs/cli-reference/resources/plans"},{"title":"Prices CLI Commands","sidebarTitle":"Prices","href":"/docs/cli-reference/resources/prices"},{"title":"Price Units CLI Commands","sidebarTitle":"Price Units","href":"/docs/cli-reference/resources/price-units"},{"title":"Features CLI Commands","sidebarTitle":"Features","href":"/docs/cli-reference/resources/features"},{"title":"Entitlements CLI Commands","sidebarTitle":"Entitlements","href":"/docs/cli-reference/resources/entitlements"},{"title":"Addons CLI Commands","sidebarTitle":"Addons","href":"/docs/cli-reference/resources/addons"},{"title":"Coupons CLI Commands","sidebarTitle":"Coupons","href":"/docs/cli-reference/resources/coupons"},{"title":"Coupon Associations CLI Commands","sidebarTitle":"Coupon Associations","href":"/docs/cli-reference/resources/coupon-associations"},{"title":"Credit Grants CLI Commands","sidebarTitle":"Credit Grants","href":"/docs/cli-reference/resources/credit-grants"},{"title":"Groups CLI Commands","sidebarTitle":"Groups","href":"/docs/cli-reference/resources/groups"},{"title":"Tax Rates CLI Commands","sidebarTitle":"Tax Rates","href":"/docs/cli-reference/resources/tax-rates"},{"title":"Tax Associations CLI Commands","sidebarTitle":"Tax Associations","href":"/docs/cli-reference/resources/tax-associations"}]},{"group":"Customers and subscriptions","pages":[{"title":"Customers CLI Commands","sidebarTitle":"Customers","href":"/docs/cli-reference/resources/customers"},{"title":"Subscriptions CLI Commands","sidebarTitle":"Subscriptions","href":"/docs/cli-reference/resources/subscriptions"},{"title":"Subscription Line Items CLI Commands","sidebarTitle":"Subscription Line Items","href":"/docs/cli-reference/resources/subscription-line-items"},{"title":"Subscription Schedules CLI Commands","sidebarTitle":"Subscription Schedules","href":"/docs/cli-reference/resources/subscription-schedules"},{"title":"Wallets CLI Commands","sidebarTitle":"Wallets","href":"/docs/cli-reference/resources/wallets"},{"title":"Alert Settings CLI Commands","sidebarTitle":"Alert Settings","href":"/docs/cli-reference/resources/alert-settings"},{"title":"Alerts CLI Commands","sidebarTitle":"Alerts","href":"/docs/cli-reference/resources/alerts"}]},{"group":"Billing","pages":[{"title":"Events CLI Commands","sidebarTitle":"Events","href":"/docs/cli-reference/resources/events"},{"title":"Invoices CLI Commands","sidebarTitle":"Invoices","href":"/docs/cli-reference/resources/invoices"},{"title":"Credit Notes CLI Commands","sidebarTitle":"Credit Notes","href":"/docs/cli-reference/resources/credit-notes"},{"title":"Payments CLI Commands","sidebarTitle":"Payments","href":"/docs/cli-reference/resources/payments"},{"title":"Checkout CLI Commands","sidebarTitle":"Checkout","href":"/docs/cli-reference/resources/checkout"},{"title":"Costs CLI Commands","sidebarTitle":"Costs","href":"/docs/cli-reference/resources/costs"}]},{"group":"Platform","pages":[{"title":"Environments CLI Commands","sidebarTitle":"Environments","href":"/docs/cli-reference/resources/environments"},{"title":"Integrations CLI Commands","sidebarTitle":"Integrations","href":"/docs/cli-reference/resources/integrations"},{"title":"RBAC CLI Commands","sidebarTitle":"RBAC","href":"/docs/cli-reference/resources/rbac"},{"title":"Scheduled Tasks CLI Commands","sidebarTitle":"Scheduled Tasks","href":"/docs/cli-reference/resources/scheduled-tasks"},{"title":"Secrets CLI Commands","sidebarTitle":"Secrets","href":"/docs/cli-reference/resources/secrets"},{"title":"Tasks CLI Commands","sidebarTitle":"Tasks","href":"/docs/cli-reference/resources/tasks"},{"title":"Tenants CLI Commands","sidebarTitle":"Tenants","href":"/docs/cli-reference/resources/tenants"},{"title":"Users CLI Commands","sidebarTitle":"Users","href":"/docs/cli-reference/resources/users"},{"title":"Workflows CLI Commands","sidebarTitle":"Workflows","href":"/docs/cli-reference/resources/workflows"}]}]}]},{"group":"API tooling","pages":[{"title":"OpenAPI spec","href":"/developers/api-tooling/openapi-spec"},{"title":"Postman collection","href":"/developers/api-tooling/postman"},{"title":"Swagger UI","href":"/developers/api-tooling/swagger-ui"}]},{"group":"Webhooks","root":{"title":"Webhooks","href":"/docs/webhook/webhooks"},"pages":[{"title":"Set up an endpoint","href":"/developers/webhooks/set-up-an-endpoint"},{"title":"Signature verification","href":"/developers/webhooks/signature-verification"},{"title":"Retries and ordering","href":"/developers/webhooks/retries-and-ordering"},{"title":"Test webhooks locally","href":"/developers/webhooks/test-locally"},{"title":"Event catalog","mode":"wide","href":"/developers/webhooks/event-catalog"}]},{"group":"Support","pages":[{"title":"Troubleshooting hub","href":"/developers/troubleshooting"},{"title":"Status page and trust centre","href":"/developers/status-and-trust"}]},{"group":"Open source","pages":[{"group":"Contributing guide","root":{"title":"Contributing Guide","href":"/docs/contributing-guide/introduction"},"pages":[{"title":"Project Architecture","href":"/docs/contributing-guide/architechture"},{"title":"Frontend Development Setup","href":"/docs/contributing-guide/frontend-setup"},{"title":"Backend Development Setup","href":"/docs/contributing-guide/backend-setup"},{"title":"Code of Conduct","href":"/docs/contributing-guide/code-of-contuct"}]},{"title":"Self-hosting","href":"/developers/self-hosting"}]}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog"}]}]},"basePath":"","title":"Quickstart - Flexprice","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}