Get Your API Key
How To Get Your Own OpenAI API Key in 2 Minutes
OpenAI allows anyone to sign up and get an API key. You do not have to be a developer, a business or an AI specialist.
1. Sign up for an account here at OpenAI.com
![Signup screen on openai.com](/docs/assets/images/1-openai-signup-44b0ba0bc2e319699d3b10b9a0c17b88.jpg)
Useful Tip
At sign up, OpenAI gives you a free $5 worth of credits towards API usage. This will likely last you a few months.
2. After sign up, login to your openai account and go the View API keys screen
![How to create an api key on openai.com](/docs/assets/images/2-openai-view-api-keys-18513207612dc2c33e6165ac655cea99.jpg)
3. Press the "+ Create new secret key" button
![How to create an api key on openai.com](/docs/assets/images/3-openai-api-keys-screen-e10bf1e58c264812dae9721f4b8b8edf.jpg)
4. You will be given the option to name the key, then press the green "Create secret key" button
![How to create an api key on openai.com](/docs/assets/images/4-openai-pop-up-create-key-5bb3eb965fd5bab4afe4145e9d3633a2.jpg)
5. A new pop up will appear displaying your API key
![How to create an api key on openai.com](/docs/assets/images/5-openai-api-key-created-b38d623289ed7a38d7d29d8a9ef6ad85.jpg)
6. Copy and save this key in a safe place. This is a one time deal, you will not be able to view the key again.
7. Optional but HIGHLY RECOMMENDED: Add usage limits to your account
Go to your Usage Limits screen and add a "Soft limit" of $5 and a "Hard limit" of $10. This ensures you will never spend more than $10 without your permission. And unless you are writing millions of words a day, $10 is plenty.
![How to set usage limits on openai.com](/docs/assets/images/6-openai-usage-limits-fbdb4690495bd0d6eb5342a09e075a9e.jpg)
Important Tip
Don't worry if you lose the API key. You can always delete it and create a new key at any time.