How to create new OpenAI API key
Create a new Projekt
Recommendation
You should use separate API key for Widget Platform and use specific limits for it to avoid any misuse.
First you need to create a new project to better control your API keys and usage.
First you need to create a new project to better control your API keys and usage.
- Open Projects page and create a new project (button on the top right corner "+ Create project").
- Give your project a name and click on
Create
.
After the project is created you will see the project ID. You will need it to create a new API key.
Set a limit
- Open Settings page.
- Make sure that you have selected the project you created in the previous step (you can see the project name on the top left corner).
- On the left sidebar click on
Limits
insideProjects
section. - Set
Budget Limit
to 100$ (or more, depends on your needs). - Set
Raate limits
Create a new API key
- Open Project / API keys page and click on
+ Create new secret key
.
Remember
You need to save the key because you won't be able to see it later.