How to Get an OpenAI API Key

How to Get an OpenAI API Key

QUICK SHORTCUT 


Notes

1.- Go to OpenAI's Platform website at platform.openai.com and sign in with an OpenAI account. 

2.- Once you are in your profile (you can check it in the top left corner), click on the ‘Dashboard’ section in the top right corner of the page and in the side menu select ‘API Keys’. 

3.- Click on ‘Create new secret key’ to generate a new API key.

PROCEDURE

To begin, head to OpenAI’s official platform website(platform.openai.com). If you haven’t already, create an account following the simple steps on the website. After that, you can enter the email address and password linked to your OpenAI account to sign in or log in with an existing Google or Microsoft account. 

Once you’ve created an account or have logged into an existing account, you’ll see your name and your profile icon at the top-left corner of OpenAI’s platform homepage. 

To obtain an API key, click on the ‘Dashboard’ section in the top right corner to bring up a side menu. Then click on the option "API Keys".


July 2024 - Rev02 

At this point, you’ll be on a page that has an option to “Create new secret key” near the center. If you do not have an API key, click this button to get one. 















          Insert a descriptive name such as 'Oct8ne' to identify its use. Make sure to save the API key as

soon as possible. (COPY IT) Once the window showing it closes, you won’t be able to reopen it. 

IS AN OPENAI API KEY FREE? 

You can create an OpenAI API key for free. New free trial users receive $5 (USD) worth of credit. However, this expires after three months. Once your credit has been used up or expires, you can enter billing information to continue using the API of your choice. Keep in mind that if you don’t enter any billing information, you will still have login access but won’t be able to make further API requests.

OpenAI enforces rate limits at the organization level; if you’re using their tools for business, you’ll have to pay depending on a few factors. Rate limits are measured in two ways: RPM (requests per minute) and TPM (tokens per minute).

If you’re looking for specific costs based on the AI model you want to use (for example, GPT-4 o gpt-3.5-turboas used in ChatGPT), check out OpenAI’s AI model pricing pageIn many cases, the API could be much cheaper than a paid ChatGPT Plus subscription—though it depends how much you use it. For a complete overview of exact rate limits, examples, and other helpful information, visit OpenAI’s Rate Limits page.

HOW TO FIX ‘INCORRECT API KEY PROVIDED’ 

Before you send email complaints to Oct8ne, you should check the following: 


          • Scan for typos and extra spaces in your API Key. 
          • Make sure you’re not using the API Key for a different organization or AI project. 
          • Verify if your API Key has been deleted, deactivated, or cached. 

Avoiding the above-mentioned errors can quickly and easily solve your problem and let you get back to work as soon as possible.


         OPENAI PROJECTS

To enable users to better organize themselves, openai has introduced the concept of ‘Projects’ on its website. This will allow a more detailed tracking of the use of API Keys, among other advantages.

By default, every account/organization will have an already created project called ‘Default project’ (you can see it in the top left corner). Only the owner of the organization will be able to create new projects. If you want to know more about it you can click here or access through the following link: https://help.openai.com/en/articles/9186755-managing-your-work-in-the-api-platform-with-projects#h_df54c41515

Openai, despite having introduced this new feature and recommending its use, allows users to make use of the pre-project functionality when creating API Keys (at least for now, it is possible that it will be removed). 

In the ‘Dashboard > API Keys’ section, near the center of the screen, you can find the message to return to that previous section by clicking on the ‘View user API Keys’ button:



    • Related Articles

    • Oct8ne API for custom CSM integration

      Oct8ne API documentation API version 2.4 Contents 1. Introduction 2. Architecture 3. Overview 3.1. Downloading and installing plug-ins and extensions 3.2. Registering as a developer and enabling the platform 3.3. Inserting the oct8ne widget 3.4. ...
    • API for sending transactional or bulk messages from WhatsApp

      Introduction WhatsApp Delivery API allows you to automate the delivery of WhatsApp templates via Oct8ne. The following operations are available: Send template to WhatsApp Get delivery status Get deliveries Get message details Security All API calls ...
    • Downloading statistics via API

      Oct8ne allows you to download information from all sessions stored on the platform to facilitate external data processing. To do this, you need to submit a request to Oct8ne’s servers with a security code and an identifier that our technical team ...
    • Cancelling a WhatsApp Business API (Waba) number

      This document describes the cancellation process, the different statuses that the number goes through both in the 360 Dialog hub and what the customer can continue to do or not do from the time we request the cancellation of a number until it is ...
    • Bot Instruction Manual for Web and Messaging

      TABLE OF CONTENTS 1. OVERVIEW 1.1. Flow Designer 2. WEB BOT: GETTING STARTED 2.1. Create a conversation 2.2. Specific tools in the conversation designer 2.3. Turning the Bot on and off 3. BOT MESSAGING: GETTING STARTED 3.1. Create a conversation 3.2. ...