Skip to main content

How to get Open AI Key

This guide will walk you through the process of obtaining an API key from OpenAI.

G
Written by Gen Cutajar

How to Get an OpenAI API Key

Follow these steps to generate your API key in OpenAI.

Step 1: Access the API Keys Page


Step 2: Create a New API Key

  1. On the API Keys page, click Create new secret key.
    ​

  2. Add an optional name for the key to help you identify it later.

  3. Select the project you are working on and set permissions (e.g., All).


Step 3: Save Your API Key

  1. Click Create secret key.

  2. Copy and save the key immediately in a secure location.

    • You won’t be able to view it again for security reasons.


Step 4: Use Your API Key

  • Paste the API key into your application, software, or tool where required.

  • Keep the key private and secure.


If you lose the key, simply repeat the process to generate a new one.

For further details, refer to OpenAI’s official documentation.

Did this answer your question?