How to get OpenAI API key and add it in Chatly?

API key is required to be added in Chatly before it can be used

To create an account on OpenAI and generate an API key, follow these steps:

  1. Create an OpenAI account: Visit the OpenAI website (https://openai.com/) and click on the "Sign Up" button in the top right corner. Fill out the required information, including your name, email address, and password, and agree to the terms of service.

  2. Verify your account: After submitting the registration form, you'll receive an email from OpenAI to confirm your account. Click on the verification link in the email to activate your account.

  3. Log into your account: Once your account is verified, return to the OpenAI website and click on the "Log In" button. Enter your email address and password to log in to your account.

  4. Navigate to the API section: After logging in, click on your profile icon in the top right corner and select "API Keys" from the dropdown menu.

  5. Generate a new API key: Click on the "Create new secret key" button. Enter a descriptive name for your API key and click on the "Create secret key" button.

  6. Copy your API key: Your newly generated API key will be displayed. Click on the "Copy" button to copy the key to your clipboard. Keep this key confidential as it grants access to your OpenAI account.

  7. Navigate to accounts page in Chatly: Log into you chatly account, click on the profile icon and select account.  
  8. Navigate to API key page in Chatly: Click on the API Key tab on account page. Select Add API Key button, paste the copied API key and hit save button. API key is added to your Chatly account 🎉
  9. Set up billing: To use OpenAI services beyond the free trial, you'll need to set up billing information. Click on the "Billing" tab in your account settings and provide your payment details.

  10. Set usage limits: To manage your API usage and prevent unexpected charges, you can set usage limits. Click on the "Usage Limits" tab in your account settings and configure the desired limits.

  11. Ensure you follow OpenAI's usage guidelines: Review OpenAI's usage guidelines to ensure you are using the API responsibly and in accordance with their policies.

Remember to keep your API key confidential and secure, as it grants access to your OpenAI account and allows you to interact with their services. Use your API key responsibly and adhere to OpenAI's usage guidelines.