Configure and publish the OpenAIAgentConnection connection
Configure the API key in the OpenAIAgentConnection connection, and then publish the connection.
•Open the OpenAIAgentConnection connection.
•In the Connection Properties section, enter the API key in the API_Key property. The OpenAI API uses the API key to authenticate OpenAI connection requests.
•Save and publish the connection.
For information about creating an API key, see the OpenAI API documentation.