RAG with Pinecone AI Agent > Using the RAG with Pinecone AI Agent recipe > Step 3. Configure the Gemini model connection
  

Step 3. Configure the Gemini model connection

Configure the model and API key to securely access and use the Gemini LLM's capabilities within the agent flow.
  1. 1Open the Gemini 2.5 Flash Model model connection.
  2. 2In the Connection Details, enter values for the following properties:
  3. Property
    Description
    Model
    Specific Gemini LLM variant or deployment that you want to use.
    API Key
    Authentication credentials required to access the Google Cloud API securely.
  4. 3Click Test to verify that the connection is successful.
  5. 4Save the connection.
You can also create a different embedding model and LLM model, but ensure that they support the embedding dimensions required by your Pinecone index.