How to Obtain an OpenAI API Key
How to Obtain an OpenAI API Key
This page provides a step-by-step guide for beginners on how to obtain an API key for OpenAI (ChatGPT).
| Step | Description |
|---|---|
| 1. Access the Official OpenAI Platform | First, go to OpenAI Platform. |
| 2. Create a Free OpenAI Account | Click the “Sign up” button in the top-right corner, and sign up using your email address or Google/Microsoft account. * If you already have an account, click “Log in.” |
| 3. Open the API Key Page | After logging in, click the profile icon at the top-right of the screen, and from the menu that appears, select View API keys. |
| 4. Create a New API Key | Click the “Create new secret key” button to generate a new API key. |
| 5. Copy and Save Your API Key | The displayed API key cannot be shown again later, so be sure to copy it and save it in a secure location. Example: sk-xxxxxxxxxxxxxxxxxxxxx |
| 6. Enter the API Key into Your EA or App | Paste the acquired API key into the designated location of your EA or application. |
Notes
- An API key is personal information. Be careful not to share it with others.
- If you suspect the API key has been leaked, delete the key and create a new one.
That’s it! If you have any questions regarding setup or acquisition, feel free to contact us.