Skip to content

Commit 54b6519

Browse files
Update docs/getting-started.md
Co-authored-by: Hannes Papenberg <info@joomlager.de>
1 parent cfcf2e8 commit 54b6519

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

docs/getting-started.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,7 @@ You will need API keys from the providers you want to use:
4949

5050
### Storing API Keys
5151

52-
**It is recommended to store API keys in environment variables** for security reasons. Never commit API keys to version control.
53-
54-
**Windows (Command Prompt):**
55-
```cmd
56-
setx OPENAI_API_KEY "sk-your-openai-key-here"
57-
setx ANTHROPIC_API_KEY "sk-ant-your-anthropic-key-here"
58-
```
59-
60-
**Windows (PowerShell):**
61-
```powershell
62-
[Environment]::SetEnvironmentVariable("OPENAI_API_KEY", "sk-your-openai-key-here", "User")
63-
[Environment]::SetEnvironmentVariable("ANTHROPIC_API_KEY", "sk-ant-your-anthropic-key-here", "User")
64-
```
65-
66-
> **Note**: Restart your terminal or web server after setting environment variables to ensure they are loaded.
52+
You should not hardcode your API keys into your program code. Make them configurable via for example a registry object or by storing them in environment variables. **Never commit API keys to version control.**
6753

6854
## Your First Request
6955

0 commit comments

Comments
 (0)