Generate Image with NVIDIA NIM > Using the Generate Image with NVIDIA NIM recipe > Step 2. Configure and publish the NVIDIA NIM connection
  

Step 2. Configure and publish the NVIDIA NIM connection

Configure the API key to authenticate NVIDIA NIM API requests, and then publish the NVIDIANIMGenerateImageConnection connection.
  1. 1Open the NVIDIANIMGenerateImageConnection 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.