Back to Fly Agent
      Gemini Integration

      Connect Fly Agent to Google Gemini

      Use the OpenAPI specification to integrate Fly Agent with Gemini, Vertex AI, or Google AI Studio.

      Requirements

      • Google Cloud account with Vertex AI enabled, OR access to Google AI Studio
      • Fly Agent API Key (get one from your settings)

      OpenAPI Specification URL

      Use this URL to import Fly Agent tools into any Gemini integration:

      OpenAPI Spec URL
      https://fly-agent-main-681315111540.asia-south1.run.app/api/v1/openapi.json

      Integration Options

      Vertex AI Extensions

      Best for production applications

      Create an extension in Vertex AI using the OpenAPI specification:

      1. 1.Go to Vertex AI Extensions in Google Cloud Console
      2. 2.Click "Create Extension"
      3. 3.Select "Import from OpenAPI" and paste the URL above
      4. 4.Configure authentication with your Fly Agent API key

      Google AI Studio

      Best for quick testing and prototyping

      Import the OpenAPI spec directly in Google AI Studio:

      1. 1.Open Google AI Studio
      2. 2.Create a new prompt or open an existing one
      3. 3.Look for the "Tools" or "Functions" section
      4. 4.Import from the OpenAPI URL and configure your API key

      Gemini API Function Calling

      Best for custom applications

      Use the OpenAPI spec to define function declarations for the Gemini API:

      1. 1.Fetch the OpenAPI spec from the URL
      2. 2.Convert OpenAPI operations to Gemini function declarations
      3. 3.Pass function declarations when calling generateContent
      4. 4.Handle function calls by making requests to the Fly Agent API

      Authentication

      All Fly Agent API calls require authentication using a Bearer token:

      Header NameAuthorization
      Header Value FormatBearer YOUR_API_KEY
      Get your API KeySettings

      What You Can Ask

      Once connected, you can ask Gemini to:

      "Show me my recent reviews"
      "Draft a response for my latest 3-star review"
      "Check my local ranking for "plumber near me""
      "Audit my Google Business Profile"
      "What changes were made to my business info?"
      "Create a post about our holiday hours"
      "Analyze sentiment from my reviews"
      "Generate a monthly performance report"

      Ready to Get Started?

      Get your API key and start managing your Google Business Profile through Gemini.