> For the complete documentation index, see [llms.txt](https://adri567.gitbook.io/autogpt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adri567.gitbook.io/autogpt/before-you-start/generate-openai-api-key.md).

# Generate OpenAI API Key

To use this Xcode Source Editor extension, you'll need a valid OpenAI API key, which you can create at this [link](https://platform.openai.com/account/api-keys).

1. Click on + Create new secret key, and a new API key will be generated.
2. Copy your API key and store them securely on your disk.

<figure><img src="https://892853070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEuaKTe26wmzERu1xq08z%2Fuploads%2F5ZISAKU2jPvfdyLzfeEL%2FBildschirm%C2%ADfoto%202023-02-21%20um%2018.59.18.png?alt=media&amp;token=f475878b-cd87-4f9b-a3db-9c18e517de05" alt=""><figcaption></figcaption></figure>
