> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-openai-integration/create-an-openai-connection-to-an-edge-or-collibra-cloud-site.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Create an OpenAI connection to a Collibra Cloud site

After you are [granted a Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md), you can create an OpenAI connection to link your Collibra Cloud site to your OpenAI project.

## Prerequisites

### In your Collibra environment

* A separate connection is required for each OpenAI project. OpenAI API keys are scoped to a single project, so a key issued in one project cannot access another. Create one connection per project, each using the API key for that specific project.
* You were granted a [Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md).
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Manage connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.

### In your OpenAI environment

* You have created an OpenAI project API key (`sk-proj-...`) for the OpenAI project you want to integrate, with `Read Only` access to the `/v1/models` endpoint.\
  Go to the [OpenAI API documentation](https://developers.openai.com/api/docs/quickstart#create-and-export-an-api-key) to generate an API key. For more information on API key permissions, go to the OpenAI [Assign API Key Permissions](https://help.openai.com/en/articles/8867743-assign-api-key-permissions) documentation.

## Steps

{% stepper %}
{% step %}
Open the Integrations page.

1. On the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Integrations** page opens.
2. Click **Add an integration**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Select Edge site** step opens.
3. In the **Edge site** list, select your Collibra Cloud site and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Create connection** step opens.
   {% endstep %}

{% step %}
In the **Connection** list, select **OpenAI connection** to connect to OpenAI.
{% endstep %}

{% step %}
Enter the required information.

| Field          | Description                                                                                                                              | Required                            |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| Name           | The name of the Collibra Cloud site OpenAI connection.                                                                                   | <i class="fa-check">:check:</i> Yes |
| Description    | The description of the connection.                                                                                                       | <i class="fa-xmark">:xmark:</i> No  |
| OpenAI API Key | The OpenAI project API key (`sk-proj-...`) for the OpenAI project you want to integrate. The secret is encrypted and cannot be revealed. | <i class="fa-check">:check:</i> Yes |
| {% endstep %}  |                                                                                                                                          |                                     |

{% step %}
Click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The connection is added to the Collibra Cloud site.
{% endstep %}
{% endstepper %}

## What's next

You can now [add the OpenAI capability to a Collibra Cloud site](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-openai-integration/add-the-openai-capability.md).
