Once you’re in the Open AI, you’ll find the necessary configuration details:
API Key:
Click the gear icon on the top right corner.
Click on “API keys” to view your API keys.
If you haven’t created an API Key before, click on “Create new secret key” to generate a new one. Make sure to copy the API Key as they are shown only once.