Quick summary
The ChatGPT API key is found in the API Keys section of the OpenAI platform, accessible via Settings. You can create a new secret key in seconds, but must copy it immediately since it cannot be viewed again after creation.
Steps
- Visit the OpenAI platform website at platform.openai.com.
- Click the gear icon in the top-right corner to open Settings.
- Navigate to the API Keys section in the left sidebar.
- Click the "Create new secret key" button on the API Keys page.
- Enter a Name and select a Project for the new secret key.
- Click "Create secret key" to confirm and generate the key.
- Immediately copy the API key, as it will not be visible again after you leave the page.
.gif)


