
To get the Organization Name, Organization ID, and API Key:
- Go to the OpenAI website and log in to your account.
- Click the Organization's Name at the top-left of the page and select the corresponding organization from the list.
- Click Settings
on the top-right of the page. - Copy the Organization Name and Organization ID from the Organization > General page.
- Click the Project's Name at the top-left of the page and select the corresponding project from the list.
- Click Dashboard on the top-right of the page.
- Select API keys from the left sidebar menu.
- Click Create new secret key on the API keys page.
- Select your preferred Owned by option.
- Enter the Name for the key or Service account ID if you've selected Owned by as Service account.
- Select Permissions as All if you've selected Owned by as You.
- Click Create secret key.
- Click Copy next to the Secret key field.