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

# OpenAI

Connect your OpenAI API organization to add its projects, members, and API key metadata to your [Asset Map](/docs/asset-map).

## What it maps

| Resource | Configuration and relationships |
| - | - |
| Organization members | Users and their organization roles. |
| Projects | Projects within the organization. |
| Service accounts | Service accounts associated with each project. |
| API keys | Key metadata and relationships to projects and owners. |
| Admin API keys | Organization-level key metadata and ownership. |

The map helps your team understand which identities and credentials have access to your OpenAI organization.

## Access required

Use an **Admin API key** created by an organization owner. A project API key does not provide the organization-level access needed for this integration.

Admin API keys permit administrative operations. Antigen uses the key to read resource and access metadata without changing your organization. See [OpenAI Admin API keys](https://developers.openai.com/api/reference/resources/admin/subresources/organization/subresources/admin_api_keys).

## Connect OpenAI

### 1. Create an Admin API key

Sign in to the OpenAI API platform as an organization owner and open [Admin keys](https://platform.openai.com/settings/organization/admin-keys).

Create a key named `Antigen` and copy its value.

### 2. Copy your organization ID

Open [Organization settings](https://platform.openai.com/settings/organization/general) and copy the organization ID. Use the organization where you created the key.

### 3. Complete the connection

Open **Settings → Integrations → OpenAI** in Antigen.

Enter the Admin API key and organization ID, then select **Connect**. Antigen reads the organization’s resources and adds them to your Asset Map.

## Troubleshooting

### The key is rejected

Confirm that you entered an Admin API key and that it has not been revoked. Check that the organization ID matches the key’s organization.

### Projects are missing

Check that you connected the intended OpenAI organization. Create a separate connection for each organization you want to map.
