To use the Open AI API in your application, you need to configure and provide an API key. This key is used to authenticate requests to the API.
Below are quick and required steps to get the API key
Step 1: Create an OpenAI Account
Step 2: Create a project (optional). Check on the top left of the screen, click Default project and then Create project, add your project name and then click Create.
Step 3: Now on the same screen on the left-side menu, click API keys.
Step 4: On the API Keys page the top right of the screen, click Create new secret key enter your Key name, choose the project if you want to any and then click on Create secret key.
Note: you can only create an API key once you verify your account with your phone number.
Step 5: You will then see your secret key generated. Please note you wont be able to see this key again, so just copy this key and paste it into the application as well as save it to a safe place. If you lose this secret key, you will need to generate a new one.
Step 6: Done! You now successfully connected the Open AI API key to our system.