Connect OpenAI
This page describes how to connect your OpenAI account to the DoiT console. Once connected, you can use your OpenAI usage and cost data within the DoiT console. See Working with AI data.
To help you connect your OpenAI accounts, the DoiT console provides a step-by-step wizard.
Create an admin key
To enable DoiT to programmatically access OpenAI, you must provide an admin key. This key is generated using the OpenAI dashboard. The admin key needs read access to the OpenAI usage API and, optionally, the OpenAI management API.
-
Sign in to the OpenAI dashboard.
-
Select the gear icon to open the Organization Settings page.
-
Select Admin keys.
-
Select Create new Admin key. The Create new admin key pane is displayed.
-
In Name, enter a name for your admin key.
-
In Permissions, select Restricted.
-
(Optional) In Management API Scope, select Read.
-
In Usage API Scope, select Read.
-
Select Create admin key. The Admin key is created.
-
Select Copy to copy the Admin key.
CautionThe key is only visible once. Please ensure you copy the key before closing the browser window.
-
Select Done to close the Save your key pane.
-
Go to the DoiT console and in Admin key, paste the admin key you created above.
Test connection
To make sure the setup is successful:
-
In the DoiT console, select Test connection. This should take a couple of seconds.
CautionIf test connection fails, we recommend that you open a support request.
-
When the test is successful, select Finish to complete the step-by-step wizard.
After you successfully connected your OpenAI account, we start importing your OpenAI billing and usage data. The process can take a few hours. You'll receive an email when the data is available for Cloud Analytics and other DoiT features.