Changesets · Branches · Tags · Compare
| Changeset | 23e5f6ffdfa71c160cd62edf6ce68ad68a793c75f946cf534bd95f183232eaca |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-22 13:33 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-22 13:33 -07:00 |
| Parents | f2c19af1c135 |
1 file changed
modified docs/guides/cli.mdx +6 −0
| @@ -87,6 +87,12 @@ | ||
| 87 | 87 | cn --exclude Fetch |
| 88 | 88 | ``` |
| 89 | 89 | |
| 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 | + | |
| 90 | 96 | ## Troubleshooting |
| 91 | 97 | |
| 92 | 98 | Run `cn` with the `--verbose` flag to see more detailed logs. These will be output to `~/.continue/logs/cn.log`. |