Simple RAG Consumption with NVIDIA NIM > Using the Simple RAG Consumption with NVIDIA NIM recipe > Step 2. Configure and publish NVIDIA NIM connection
  

Step 2. Configure and publish NVIDIA NIM connection

Configure the API key to authenticate NVIDIA NIM API requests, and then publish the NVIDIANIMRAGConnection connection.
  1. 1Open the NVIDIANIMRAGConnection connection.
  2. 2From the Type list, select NVIDIA NIM.
  3. 3From the Runtime Environment list, select Cloud Server or any Secure Agent.
  4. 4In the Connection Properties section, enter the API key in the Api_Key property. The Api_Key property authenticates NVIDIA NIM API requests.
  5. 5Save and publish the connection.