Integrate Firecrawl with Google's Gemini for AI applications powered by web data.
Setup#
Create .env file:
Note: If using Node < 20, install
dotenvand addimport 'dotenv/config'to your code.
Scrape + Summarize#
This example demonstrates a simple workflow: scrape a website and summarize the content using Gemini.
Content Analysis#
This example shows how to analyze website content using Gemini's multi-turn conversation capabilities.
Structured Extraction#
This example demonstrates how to extract structured data using Gemini's JSON mode from scraped website content.
For more examples, check the Gemini documentation.

