Elffuss BraidHub

kikocis/continue public

Add CLI API key authentication documentation (#7887)

* Add CLI API key authentication documentation

* Update docs/guides/cli.mdx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Changeset23e5f6ffdfa71c160cd62edf6ce68ad68a793c75f946cf534bd95f183232eaca
AuthorNate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-22 13:33 -07:00
CommitterGitHub <noreply@github.com> · 2025-09-22 13:33 -07:00
Parentsf2c19af1c135

Browse the files at this changeset

1 file changed

modified docs/guides/cli.mdx +6 −0
@@ -87,6 +87,12 @@
8787 cn --exclude Fetch
8888 ```
8989
90+## API Key Authentication
91+
92+For automation in CI or other headless environments, you can use an API key to authenticate with Continue. First, obtain your personal API key [here](https://hub.continue.dev/settings/api-keys). Then, set it as the `CONTINUE_API_KEY` environment variable. You can now use `cn -p` (headless mode) without needing to log in.
93+
94+If you wish to run an automation on behalf of your organization you can obtain an organization-scoped API key by going to [your organization's settings](https://hub.continue.dev/settings/organizations) -> API Keys.
95+
9096 ## Troubleshooting
9197
9298 Run `cn` with the `--verbose` flag to see more detailed logs. These will be output to `~/.continue/logs/cn.log`.