Skip to content

Commit 619ad71

Browse files
authored
docs: added instructions for obtaining OpenAI API key to README (#421)
* docs: added instructions for obtaining OpenAI API key to README * docs: move 'Getting an OpenAI API key' before 'Other examples'
1 parent 5c7d882 commit 619ad71

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ func main() {
5252

5353
```
5454

55+
### Getting an OpenAI API Key:
56+
57+
1. Visit the OpenAI website at [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys).
58+
2. If you don't have an account, click on "Sign Up" to create one. If you do, click "Log In".
59+
3. Once logged in, navigate to your API key management page.
60+
4. Click on "Create new secret key".
61+
5. Enter a name for your new key, then click "Create secret key".
62+
6. Your new API key will be displayed. Use this key to interact with the OpenAI API.
63+
64+
**Note:** Your API key is sensitive information. Do not share it with anyone.
65+
5566
### Other examples:
5667

5768
<details>

0 commit comments

Comments
 (0)