Getting Started with OpenAI API: Step-by-Step Guide
OpenAI is separate and different than ChatGPT. Think of ChatGPT as a product of OpenAI. ChatGPT is an AI product based off of OpenAI. When you create an account in ChatGPT it is automatically connected to OpenAI through an API Key. This API key allows ChatGPT to access OpenAI. Without OpenAI, ChatGPT will not work.
MyCFOWizard can access OpenAI to provide consulting advice based on the financial information you submit. You just need to create an OpenAI account, fund the OpenAI account, and connect it to MyCFOWizard with an API key.
Here’s how to create an OpenAI account, fund it and then get the API key to put in MyCFOWizard.
1. Sign Up or Log In
Visit the OpenAI Platform at https://platform.openai.com/ and sign up or log in. If you are signing up, then during that process you’ll be able to create an API key. If you are logging in, just follow the rest of these instructions.
2. Navigate to API Keys
Once you are logged in, go to your profile settings. Look for a section labeled “API Keys.”
You can find this by clicking on your profile icon and then selecting “Settings.”
3. Create a New API Key
Click on the “Create new secret key” button.
Give your API key a descriptive name to help you remember its purpose.
4. Copy and Secure Your API Key
After creating the key, make sure to copy it and store it securely. OpenAI will not display the key again.
It’s a good practice to store your API key in an environment variable rather than directly in your code.
5. Set Up Billing
OpenAI requires you to set up billing to use their API. You can do this by adding your credit card details to your account.
You might need to pay a minimum amount (e.g., $5) to start using the API.