# OpenAI

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

### Fields that require additional information

* ***Api Key***

To use OpenAI's ChainJet integration, you'll need to obtain an API key. Follow these steps to get your key:

1. Create a free account on [OpenAI](https://platform.openai.com/).
2. Once you're logged in, navigate to the ["API Keys" section.](https://platform.openai.com/account/api-keys)
3. Generate a new API key.
4. Remember to copy your API key, as it will not be displayed again.


---

# 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://docs.chainjet.io/integrations/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.
