Frequently Asked Question

How to Get Your OpenAI API Key (ChatGPT)
Last Updated 11 months ago

About OpenAI and Its Models

OpenAI is a leading AI research company that provides a comprehensive suite of AI models through their API. Their offerings span multiple modalities including text generation (GPT-4, GPT-4o, etc), image generation (DALL-E), text-to-speech conversion, and audio transcription (Whisper). This versatility makes OpenAI an excellent choice for building feature-rich AI applications.

By integrating OpenAI's API into your Quately AI platform, you can enable diverse capabilities such as generating written content, creating custom images, converting text to natural-sounding speech, transcribing audio files, and building sophisticated conversational experiences. Their models are widely used for customer service, content creation, data analysis, and creative applications.

Step 1: Create an OpenAI Account

Navigate to the OpenAI Platform at platform.openai.com. Click on the "Sign up" button to create a new account. You can sign up using your email address or continue with your Google or Microsoft account. If using email, OpenAI will send you a verification link to confirm your account.

Step 2: Complete Account Verification

After verifying your email, you'll need to provide additional information including your name and phone number. OpenAI requires phone verification for security purposes. Enter your phone number and you'll receive a verification code via SMS. This helps prevent abuse and ensures account security.

Step 3: Add Payment Information

To use the API beyond any free trial credits, you'll need to add a payment method. In the Platform dashboard, click on "Settings" in the left sidebar, then navigate to "Billing." Click on "Add payment method" and enter your credit card details. OpenAI uses a pay-as-you-go model with no minimum commitment, charging only for the resources you use.

Step 4: Generate Your API Key

Once your account is set up, navigate to the "API keys" section in the left sidebar. Click on "Create new secret key" button. You can optionally give your key a name (such as "Quately AI Integration") to help identify its purpose later.

After clicking "Create secret key," your new API key will be displayed. Critical: This is the only time you'll see the complete API key. Copy it immediately and save it in a secure location. OpenAI cannot retrieve lost keys, so you'll need to generate a new one if you lose it.

Step 5: Set Usage Limits (Recommended)

To manage costs and prevent unexpected charges, set up usage limits. In the Platform dashboard, go to "Settings" then "Limits." Here you can configure monthly budget limits and rate limits. You can also set up alerts to notify you when you approach your spending threshold. This is particularly helpful when you're starting out or testing your integration.

Understanding OpenAI's Pricing Tiers

OpenAI offers different usage tiers that affect your rate limits and access to models. New accounts start in the Free tier with limited access. As your usage increases and you make successful payments, you'll automatically progress to higher tiers with increased rate limits. You can view your current tier and progress in the "Limits" section of your account settings.

Security Best Practices

Your API key provides full access to your OpenAI account and billing. Protect it by never exposing it in client-side code, avoiding commits to public repositories, and not sharing it via email or messaging apps. In Quately AI, you'll enter this key in a secure configuration section where it will be encrypted and stored safely.

If you encounter issues during signup, such as phone verification problems or payment processing errors, OpenAI provides support through their help center. Some common issues include regional restrictions (OpenAI isn't available in all countries) and corporate card verification delays. Most accounts are activated instantly, but some business accounts may require additional verification.

Next Steps

With your API key ready, return to your dashboard on the Quately AI platform and enter it in the API configuration section. This will enable your platform to access OpenAI's full suite of models, allowing you to build powerful AI features into your SaaS application.

The API Section is found in "System Settings" >> "AI Platform Setup" >> "OpenAI (ChatGPT)"

For detailed information about OpenAI's models, pricing, rate limits, and API documentation, visit https://openai.com/api/pricing/

Please Wait!

Please wait... it will take a second!