From 9d02da66ec3965122c999aa87530c0c40fd4b52c Mon Sep 17 00:00:00 2001 From: Joseph-M-Cook Date: Fri, 22 Nov 2024 13:57:01 -0500 Subject: [PATCH] Update readme to use env variables for API key --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0d5e4be..595ef36 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,15 @@ https://github.com/user-attachments/assets/333e536e-93d0-4a97-8c9b-8f0722c29d51 ### 0. Prerequisites - Instal Miniconda on your system through this [link](https://www.anaconda.com/download?utm_source=anacondadocs&utm_medium=documentation&utm_campaign=download&utm_content=topnavalldocs). (**Python Version: >= 3.11**). +- *Optional*: Configure your Anthropic API key as an environment variable to avoid entering your Anthropic API key into the application each time. The application will automatically use this key for authenticated requests. + - #### MacOS/Linux (Terminal): + ```bash + export ANTHROPIC_API_KEY="your-api-key-here" + ``` + - #### Windows (Command Prompt or PowerShell): + ```bash + setx ANTHROPIC_API_KEY "your-api-key-here" + ``` ### 1. Clone the Repository 📂 Open the Conda Terminal. (After installation Of Miniconda, it will appear in the Start menu.)