Skip to main content

OpenAI Console

If you already have your OpenAI API key, you can skip this section. Otherwise, let’s walk through the steps to get your OpenAI API key. Go to the OpenAI Console where on the top right corner, you will see a button to sign up or sign in. If you don’t have an account, click on the Sign Up button and follow the instructions to create an account.

Sign up for an OpenAI account, click on the button marked with the red rectangle.

Don’t worry about the developer focused content, you will be able to use the OpenAI API without any programming knowledge. Once you have signed up, you will be taken to the OpenAI Console. After you are signed in, you will see a gear icon on the top right corner, click on it to open the settings menu.

Go to your settings page, click on the button marked with the red rectangle.

There are 2 options for the API keys, you can create an organization wide key or a project wide key. For the sake of this tutorial, we will create an organization wide key.

Go to your Organization API keys page, click on the button marked with the red rectangle.

You will see a button on the top right corner. Click on the Create new secret key button.

Click on this button to create a new API key.

A modal window will then pop up asking you to name your API key. You can name it anything you want, but for the sake of this tutorial, we will name it Open WebUI. Click on the Create secret key button to create the API key.
1

First Step

In the Owned by field, select You.
2

Second Step

You can set any arbitrary name for your API key.
3

Third Step

In the Project field, you can choose the Default Project.
4

Fourth Step

For the Permissions field, let’s select All.
5

Fifth Step

Click on the Create secret key button on the bottom right corner of the modal window.

Your new OpenAI API key, keep this safe, we will use this to configure Open WebUI in the next step.

Important Note About API Keys

Never share the API keys you have created with anyone. Store it somewhere safe. For more information, follow OpenAI’s best practice below: OpenAI API Key Best Practices

Congrats!

You are now done creating your own OpenAI API key. Let’s move on to the next step and configure Open WebUI with your OpenAI API key.