KBAISE/ for lovable
Library
Docs

Connect your app to Gemini Enterprise

about 10 minBuildingchecked 4d agoOfficial page
The short version

Connect your Lovable app to Google Cloud's Gemini Enterprise to search internal documents and get answers with citations. It plugs directly into an engine your team already configured in Google Cloud.

Teams that already use Gemini Enterprise or Vertex AI Search in Google Cloud and want to build internal search portals or Q&A assistants.

Do this, in order

  1. 1

    Open Connectors in your Lovable dashboard, select Gemini Enterprise, and click Connect.

    This starts the setup to create a reusable connection between Lovable and your Google Cloud search engine.

  2. 2

    Enter a Display name, your GCP project ID, the Location (global, us, or eu), and the Engine ID from your Google Cloud console.

    Lovable needs these exact Google Cloud identifiers to route queries to the correct search engine.

  3. 3

    Keep the default Cloud Platform scope selected and set your sharing preferences.

    The connection requires the default scope to read your search engine, and sharing settings determine which teammates can build with it.

  4. 4

    Click Connect and authorize access using the Google account that has permission to view the search engine and its data.

    Gemini Enterprise applies this Google account's permissions to determine what documents are visible in the search results.

  5. 5

    Ask Lovable in your project chat to link to your Gemini Enterprise connection and build your interface.

    Linking makes the authenticated Google Cloud search engine available to your project's chat and published application.

Paste this into your project

Use Gemini Enterprise and build a chat interface that answers employee questions and always shows citations.

Words decoded

Engine ID
The technical ID string of your search app found in Google Cloud's ID column, distinct from its human-readable display name.
GCP project ID
The unique identifier for the Google Cloud project where your search setup is hosted.
Grounded answers
AI responses that strictly rely on facts from your company's indexed documents and provide citations back to those sources.

Where people get stuck

  • Entering the app's display name instead of the Engine ID from Google Cloud causes a 404 error.
  • Authorizing with a Google account that lacks access to the engine or documents results in a 403 permission error.
  • Changing connection details like the Project ID or Location requires clicking Reconnect to save your changes.
  • This connector cannot trigger external actions like creating tickets or sending emails; it is strictly for search and grounded Q&A.
  • Website data stores cannot be searched through Gemini Enterprise search and assistant apps.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.