# Create API Key in OpenAI

1. Go to[ https://platform.openai.com/login](https://platform.openai.com/login).<br>
2. Click **Continue with Google**.

<figure><img src="/files/H1gsCHQT821ze61Gh12R" alt=""><figcaption></figcaption></figure>

3. Select your Google account.

<figure><img src="/files/awPNZlf0aLdUN356CV2U" alt=""><figcaption></figcaption></figure>

4. Click **Start building**.

<figure><img src="/files/TWksnoZsAHCyDMvQCwC4" alt=""><figcaption></figcaption></figure>

5. Enter an **Organization name** (for your own reference). Choose any description, for example: Not Technical.
6. Click **Create organization**.

<figure><img src="/files/kBv8zaGT8TLNiSjdXMt7" alt=""><figcaption></figcaption></figure>

7. Click **I’ll invite my team later**

<figure><img src="/files/VlC8UrI49WIYtv5ZNLCz" alt=""><figcaption></figcaption></figure>

8. Enter an **API Key name** and a **Project name** (for your own reference). Example: Demo Key 1 and Demo Project 1.<br>
9. Click **Generate API Key**.

<figure><img src="/files/LbPQTybGginPNCLYXVkk" alt=""><figcaption></figcaption></figure>

10. Copy the API Key and save it somewhere safe (e.g., Notepad). This API Key will be used to setup in Kuasa.

<figure><img src="/files/xkeZSdMEzvlwZcuuse86" alt=""><figcaption></figcaption></figure>

11. Scroll down and click **Continue**.

<figure><img src="/files/28KSd7HWnqPKo09urGo2" alt=""><figcaption></figcaption></figure>

12. OpenAI requires you to add a minimum of $5 USD
13. Click **Purchase credits**. Then, set up a payment method (Use debit/credit card).

<figure><img src="/files/8OMsYT0lNu8lKO3zRlXK" alt=""><figcaption></figcaption></figure>

Now you have your API Key. Next, let’s set it up in Kuasa.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tutorials.kuasa.io/getting-started/kuasa-campaigns/ai-chatbot/setup-ai-chatbot/create-api-key-in-openai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
