OpenAI
Before configuring a connection to the OpenAI provider, set up your OpenAI account and get a valid API key for authentication. For more information, refer to the OpenAI documentation.
Add OpenAI provider
In the sidebar, under Air Governance, select Providers.
If you don't see this page, or the controls on this page are inactive, make sure your role has the necessary permissions.
Click Add provider and select OpenAI. The OpenAI provider card appears on the page.
In the Endpoint field, specify an endpoint URL for communicating with the OpenAI service. The default endpoint is
https://api.openai.com. If your OpenAI project is configured for data residency, use the corresponding regional endpoint instead.In the API key field, specify an API key to access the OpenAI API. For more information, refer to the OpenAI documentation.
Click Connect.
The connection is tested first, and the provider is saved only if the test passes.
If the test fails, the provider isn't saved. For an existing provider, the previous configuration stays in effect. The Error status appears next to the provider's name, and the provider card stays open for editing with the Check configuration and try again message, which you can expand to view the details. Correct the configuration and click Connect again.
If the test passes, the provider is saved, the configuration form is closed, and a success message appears in the lower right corner.
To add models, click Add model below the Models table. For more information, refer to Managing models.
To edit the provider configuration, click in the provider card, then select Edit credentials and update the necessary fields.