🔑Create OpenAI API Key

If you don't have an account, let's create one at https://platform.openai.com/signup.

Step 1: Add payment details

If you don't have free credit, you might need to add payment detail and add credit balance to start using OpenAI API. Go to https://platform.openai.com/account/billing/overview and click "Add payment details".

Otherwise, if you already have credit balance, just skip this step and go to Step 6: Go to https://platform.openai.com/api-keys and click "Create new secret key".

Step 2: Select payment type

Choose your best fit payment type. Let try with "Individual" if you plan to use the API personally.

Step 3: Enter card information

Step 4: Add credit balance

Step 5: Enter amount

Step 6: Go to https://platform.openai.com/api-keys and click "Create new secret key"

Step 7: Enter key name and click "Create secret key"

Step 8: Copy the API key. Keep it secret.

Please notice that you won't be able to view the key again through your OpenAI account for security reasons. If you lose this secret key, you'll need to generate a new one.

Now go to Add API key and use copied API key to create new API endpoint.

Last updated