# How To Get OpenAI API Key

OpenAI is well-known for its ChatGPT AI chatbot. To get the OpenAI API key, you need to create an account with the OpenAI. Go to their website; [**https://platform.openai.com/**](https://platform.openai.com/) and click the Sign Up button. (Log In if you already have an OpenAI account)

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

Before you can use the API Key, you need to add credit in your OpenAI account. Go to **setting** menu and click the **Billing** menu. Then, click add to credit balance button.

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

{% hint style="warning" %}
**NOTES:** Always check your billing and make sure credits is always enough so the A.I feature will continuously working.&#x20;
{% endhint %}

Minimum required funds you can buy is USD5. After complete buying credit, now you can create your API key. Go to the **Dashboard** menu and click the **API Keys** section.

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

Then, click the **Create New Secret Key** button.

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

A popup form will appear. Fill a name for your API key (for your reference). Then, click **Create Secret Key** button.&#x20;

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

Finally, you will get an API key. Just copy the API key and use it in the Wasapmatic A.I API Key setting.&#x20;

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


---

# 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://help.wasapmatic.com/whatsapp-artificial-intelligence-a.i/how-to-get-openai-api-key.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.
