> ## Documentation Index
> Fetch the complete documentation index at: https://arize-ax.mintlify.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI

> Integrate with OpenAI as an AI Provider

Add your OpenAI key to begin using OpenAI models in the platform.

<Note>
  By adding this integration, your data may be sent to OpenAI for certain actions within Arize AX (e.g., prompt playground) and your account may be billed for usage.
</Note>

## Add the Integration Using the Arize Skills

Add an OpenAI integration from your coding agent using the [Arize Skills](/ax/agents/arize-skills):

<Prompt description="Create an OpenAI integration named 'my-openai' with my API key sk-proj...">
  Create an OpenAI integration named 'my-openai' with my API key sk-proj...
</Prompt>

## Add the Integration from Arize AX

### Select OpenAI from the Providers List

<Frame caption="The AI Provider integrations tab">
  ![The AI Provider integrations tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-openai.png)
</Frame>

### Fill Out Your Integration Details

<Frame caption="The OpenAI integration configuration pane">
  ![The AI integration details tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-openai-details.png)
</Frame>

Give your integration a name and set your OpenAI API key.

You can find your API key in the [OpenAI Console](https://platform.openai.com/api-keys).

### Advanced Settings

<Frame caption="The Advanced Settings configuration pane">
  ![The AI integration details tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-advanced-settings.png)
</Frame>

Expand the **Advanced Settings** section to configure the following:

* **Supports Function Calling** - Turn this on to allow the integration to use function calling features. This is on by default.
* **Authorized Orgs** - Configure which organizations have access to this integration.
* **Authorized Spaces** - Configure which spaces have access to this integration.

## Add the Integration

Finally check the box to agree to the terms and conditions, then select the **Add Integration** button to create the integration.
