Setting Up OpenAI API Key
Learn how to set up your OpenAI API key to use it with NeoGPT
These steps are applicable to Windows, Linux as well as MacOS.
Create an OpenAI Account
Go to the OpenAI website and create an account. Once you have created an account, or logged in to your existing account, go to the APPS Page and choose the API app.
Get API Key
Go to the API keys page or choose the “API Keys” option from the left-hand menu and click on the “Create new Secret Key” button.
Naming the Key
Give your key a name and click on the “Create” button. The permissions for the key should be set to “All” to allow NeoGPT to use the key.
Copy API Key
Copy the API key that is generated for you. You will need this key to use the OpenAI API with NeoGPT.
Copy the key to a safe place as you will not be able to see it again.
Adding API Key to NeoGPT
Open the .env-template
file and rename it to .env
file and update the OPENAI_API_KEY
variable with the API key you copied earlier.
Ready to Rock
You are now ready to use the OpenAI API with NeoGPT.