chatgptChatGPT - How to Generate the ChatGPT API Key to Integrate with SprintHub

Introduction

If you want to integrate the ChatGPT API with Sprinthub, know that the process is simple and does not require subscribing to any prepaid plan. OpenAI operates on the pay-as-you-gomodel, meaning you only pay for what you consume.

Below, we explain the step-by-step process to generate the API key required for the integration.

Step-by-step to Create an API Key on OpenAI

1. Access the OpenAI Platform

Visit the OpenAI website via the link and click "start building":

👉 OpenAI Developer Platformarrow-up-right

If you don't have an account yet, sign up for free and log in.

2. Create an Organization

If this is your first time accessing the platform, you will need to create an organization:

  • Enter a name for the organization.

  • Choose the option that best describes your technical profile.

  • Click “Create organization”.

3. Generate an API Key

After creating the organization, follow these steps:

  • In the API Key Name, set a name for the key (example: "My Test Key").

  • In the Project Name, you can leave the default or name the project according to your needs.

  • Click “Generate API Key”.

Your key will be displayed on the screen. Copy and store this key in a safe place.

4. Configure Credits for API Usage (Optional)

OpenAI adopts a pay-as-you-go model. To start consuming the API, you can:

  • Select one of the available credit options (example: $5, $10 or $20).

  • Or skip this step and purchase credits later.

If you already have an organization created within OpenAI

1. Access Existing Keys in the Dashboard

If you have already set up OpenAI previously and want to access your keys:

  • In the side menu, click on “API Keys”.

  • View or generate new keys as needed.

2. Integrate the API with Sprinthub

Now that you have the API key, you can use it for integration with Sprinthub.

  • Copy the key and paste it into Sprinthub's configuration, in the field intended for the OpenAI API.

Final Considerations

Generating an API key on OpenAI is a quick and hassle-free process. Since billing is usage-based, you have full control over your expenses. Remember to never share your API key publicly, as this can compromise the security of your account.

Now that you know how to generate your key, take the opportunity to explore the possibilities of integration with Sprinthub! 🚀

Last updated

Was this helpful?