Create an AI connection for OpenAI
Create an AI connection for OpenAI in AI Control Tower using the AI Service Graph Connector for OpenAI (Version 1.0.0).
Before you begin
Role required: sn_ai_disc.discovery_admin and sn_cmdb_int_util.sgc_admin
Procedure
- Navigate to Al Control Tower > Configurations > AI connections.
- Click Add.
- Select OpenAI from the available connectors.
- Click Create connection.
-
Review setup instructions page appears
Note:Verify to have the OpenAI prerequisites and perform the OpenAI setup.
-
Click Continue
Note:OpenAI Setup contains Configure OpenAI connection and Configure Import schedules
-
Configure OpenAI connection
Note:These required credentials are for OpenAI Standard API key.
- Enter the Connection Name
- Enter the Connection URL
-
Enter the API key
Note:To get API keys, navigate to OpenAI profile > User profile > Organization settings > API keys > +Create new secret key
-
Select Create and test connection
A banner appears displaying Connection verified.
- Click Continue
-
Configure Import schedules
- Open the discovery scheduled job.
- Select the Active check box
-
Select Run according to your preference
Note:This is an optional step as the schedule imports run according to the schedule.
- To run frequency by demand, select Execute now.
- Select Continue
Note:OpenAI Usage Setup contains Configure OpenAI connection and Configure Import schedules -
Configure OpenAI Usage connection
Note:These required credentials are for Admin API key.
- Enter the Connection Name
- Enter the Connection URL
-
Enter the API key
Note:To get API keys, navigate to OpenAI profile > User profile > Organization settings > Admin keys > +Create new Admin key > Name > Create admin key
- Select Update and test connection
- Click Continue
-
Configure Import schedules
- Open the Model usage scheduled job.
- Select the Active check box
- Select Run frequency according to your preference
-
To run frequency on demand, select Execute now.
Note:This is an optional step as the schedule imports run according to the schedule.
- Select Continue
- Select the Confirm connection setup activity to verify whether the connection was configured.
Result
Click View all connections to view the newly created connection.
The AI connection for OpenAI is created and configured.