Getting Started
Learn how to set up and start using the OpenAI API in just a few minutes.
1
Install the OpenAI SDK
First, install the OpenAI Python package using pip:
Terminal
pip install openai2
Get Your API Key
- Go to platform.openai.com/api-keys
- Sign in or create an account
- Click Create new secret key
- Copy the key
Important: Never share your API key or commit it to version control!
You are All Set!
Check out the Examples page to see what you can build.