summaryrefslogtreecommitdiff
path: root/docs/cli/authentication.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli/authentication.md')
-rw-r--r--docs/cli/authentication.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/authentication.md b/docs/cli/authentication.md
index bb9fea84..ea2cd623 100644
--- a/docs/cli/authentication.md
+++ b/docs/cli/authentication.md
@@ -8,7 +8,7 @@ The Gemini CLI requires you to authenticate with Google's AI services. On initia
- During initial startup, Gemini CLI will direct you to a webpage for authentication. Once authenticated, your credentials will be cached locally so the web login can be skipped on subsequent runs.
- Note that the web login must be done in a browser that can communicate with the machine Gemini CLI is being run from. (Specifically, the browser will be redirected to a localhost url that Gemini CLI will be listening on).
-2. **Gemini API key:**
+2. **<a id="gemini-api-key"></a>Gemini API key:**
- Obtain your API key from Google AI Studio: [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)
- Set the `GEMINI_API_KEY` environment variable. In the following methods, replace `YOUR_GEMINI_API_KEY` with the API key you obtained from Google AI Studio: