Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Azure Databricks previews.
This page shows how to configure OpenAI to enable authentication from Azure Databricks for the OpenAI connector. Use the credentials retrieved from the steps on this page to create a Unity Catalog connection in Azure Databricks.
Prerequisites
An OpenAI account with Organization Owner access. Organization Owners create Admin API keys and manage the organization. Access to the Administration API is gated on this role, not on an account plan tier. See OpenAI: Admin and audit logs API for the API Platform.
To ingest the
audit_logstable, audit logging must be enabled for your organization. Once enabled, audit logging cannot be disabled without contacting OpenAI support. See OpenAI: Admin and audit logs API for the API Platform.
Configure OpenAI
In this step, you create an OpenAI Admin API key. Admin API keys authenticate to the Administration endpoints and cannot be used for other endpoints. For more information, see OpenAI: Administration APIs.
- Sign in to the OpenAI platform as an Organization Owner.
- Open the Admin keys page for your organization.
- Create an Admin API key. Set its permission to Read Only, which sets read permissions for all endpoints and is sufficient for ingestion. See OpenAI: Assign API key permissions.
- Copy the Admin API key and store it securely. OpenAI shows the full key only once. Use this key to create a Unity Catalog connection in Azure Databricks.
- To ingest audit logs, confirm that audit logging is enabled for your organization. See OpenAI: Admin and audit logs API for the API Platform.
Next steps
Create an OpenAI connection in Azure Databricks. See Create an OpenAI connection.