Simple RAG Consumption with Azure OpenAI and AI Search > Using the Simple RAG Consumption with Azure OpenAI and AI Search recipe > Step 2. Configure and publish the Azure OpenAI connection
  

Step 2. Configure and publish the Azure OpenAI connection

Configure the endpoint URL and API key to connect to the Azure OpenAI connection, and then publish the AzureOpenAIConnection connection.
  1. 1Open the AzureOpenAIConnection connection.
  2. 2In the Connection Properties section, enter values for the following properties:
  3. Property
    Description
    Endpoint_URL
    The REST API endpoint for Azure OpenAI. You can find this value in the Keys & Endpoint section when examining your resource from the Azure portal. Alternatively, you can find the value in Azure OpenAI Studio > Playground > Code View.
    API_Key
    The API key to authenticate Azure OpenAI connection requests. You can find this value in the Keys & Endpoint section when examining your resource from the Azure portal. Alternatively, you can find the value in Azure OpenAI Studio > Playground > Code View.
  4. 3Save and publish the connection.