| name | firecrawl-deploy-integration |
| description | Deploy Firecrawl integrations to Vercel, Cloud Run, and Docker platforms.
Use when deploying Firecrawl-powered applications to production,
configuring platform-specific secrets, or setting up self-hosted Firecrawl.
Trigger with phrases like "deploy firecrawl", "firecrawl Vercel",
"firecrawl production deploy", "firecrawl Cloud Run", "firecrawl Docker".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(docker:*), Bash(gcloud:*) |
| version | 1.11.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","firecrawl","deployment"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Firecrawl Deploy Integration
Overview
Deploy applications using Firecrawl's web scraping API to production. Covers Vercel serverless, Cloud Run containers, self-hosted Firecrawl via Docker, and webhook endpoint deployment for async crawl results.
Prerequisites
- Firecrawl API key (
FIRECRAWL_API_KEY)
- Application using
@mendable/firecrawl-js
- Platform CLI (vercel, docker, or gcloud)
Instructions
Step 1: Configure Platform Secrets
set -euo pipefail
vercel env add FIRECRAWL_API_KEY production
echo -n "$FIRECRAWL_API_KEY" | gcloud secrets create firecrawl-api-key --data-file=-
Step 2: Vercel Serverless API Route
import FirecrawlApp from "@mendable/firecrawl-js";
import { NextRequest, NextResponse } from "next/server";
const firecrawl = new FirecrawlApp({
apiKey: process.env.FIRECRAWL_API_KEY!,
});
export async function POST(req: NextRequest) {
const { url, formats = ["markdown"] } = await req.json();
if (!url) {
.({ : }, { : });
}
{
result = firecrawl.(url, {
formats,
: ,
: ,
});
.({
: result.,
: result.,
: result.?.,
: result.?.,
});
} (: ) {
.(
{ : error., : error. },
{ : error. || }
);
}
}