> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/patchworks-connectors/openai-prebuilt-connector.md).

# OpenAI (prebuilt connector)

## Description

**OpenAI** is an artificial intelligence research organisation that focuses on developing advanced AI technologies and models.

## API documentation

API documentation for **ChatGPT**  (used to build this connector) can be found via the link below:

{% embed url="<https://platform.openai.com/docs/introduction>" %}

## Authentication&#x20;

When adding connector instances for **OpenAI**, the following authentication methods are supported:

* [Token authentication](#token-authentication)

### Token authentication

When a user chooses to [add a connector instance](/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance.md) using **token** authentication, the credentials below are prompted:

<table><thead><tr><th>Credential</th><th width="145" data-type="checkbox">Required?</th><th>Notes</th></tr></thead><tbody><tr><td><code>token</code></td><td>true</td><td>When you are logged into OpenAI, you can <a href="https://platform.openai.com/account/api-keys">generate an API key</a> to be used as your token .</td></tr></tbody></table>
