Appearance
How to Generate an OpenAI API Key
Last update: 04/Nov/2024
To use OpenAI API inside your application, you need to create an OpenAI account and generate an API key.
Follow the steps below:
Step 1: Sign Up at OpenAI
- Visit the OpenAI Sign Up Page
- You can sign up using your Google or Microsoft account, or by creating a new account with an email and password.
- A valid mobile number may be required to verify your account.
Step 2: Access Your API Keys
- Go to the OpenAI API Keys Page.
- Alternatively, click on the menu item labeled “View API keys”.
Step 3: Create a New API Key
- Click the button “Create new secret key”.
- A new key will be generated — copy it and store it securely.
Step 4: Update API Key in Admin Panel
That's it! You can now use this key in your applications.
Next, navigate to your domain and log in as an admin. Go to Settings → AI Tools Configuration Settings
to update your OpenAI API Key.