Helping millions of people navigate the world of technology.

How to Generate an OpenAI API Key

Quick Tips
  • Adding an OpenAI API key to external software permits the use of OpenAI’s products.
  • Login to your OpenAI account, go to Dashboard > API keys and generate a new secret key.
  • You can create an API key for both a user and a service.

Here’s how you can generate and download an OpenAI API key. We have demonstrated the process on a web browser on Windows. However, the process remains similar on any other mobile or desktop device.

Note: Make sure you have enough credits left before you add an OpenAI API key to a program. The API key is linked to your account and can only access OpenAI’s services if there are enough remaining credits.

Step 1: Go to OpenAI’s website on your web browser.

Step 2: Log in with your OpenAI account or create one if you do not have an existing account.

Step 3: Click on the Dashboard option.

Click on Dashabord

Note: You will have to select a Project on the dashboard screen. By default, the Default Project is selected. You can create a new project as well.

Choose Project

Step 4: Click on the API Key option from the sidebar.

Click on API Keys

Step 5: Click on Create new secret key.

Create New Secret Key 1

Step 6: You can either create an API key for a user, or for a service.

  • Owned by You: The key is linked to an individual user. If that user leaves, the key will be disabled. The user can set the key name, choose the project, and define permissions (All, Restricted, Read-Only).
  • Owned by Service Account: The key is linked to a service account, not a person. This account remains active regardless of team changes. You must create a Service Account ID, and choose a project.

Step 7: Once you select your preferences, click on Create secret key and copy the API key.

Copy API Key

Also Read: Try these 6 cool iPhone AI tools while waiting for Apple Intelligence

Was this helpful?

Thanks for your feedback!

Last updated on 26 August, 2024

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.