#firecrawl config with hidden token

1 messages · Page 1 of 1 (latest)

lilac quest
#

v2026.5.20

How do I configure the firecrawl plugin to:

  1. use the cloud firecrawl site
  2. to use a token stored in .env (FIRECRAWL_API_KEY)
rich anvilBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

gilded pikeBOT
lavish tartanBOT
lavish tartanBOT
lavish tartanBOT
lavish tartanBOT
lavish tartanBOT
lilac quest
#

I only want to use it for web_fetch fallback. What does that config look like?

lavish tartanBOT
lavish tartanBOT
lavish tartanBOT
# lilac quest I only want to use it for web_fetch fallback. What does that config look like?
FIRECRAWL_API_KEY=fc-your-key-here

Then restart the gateway. You do not need tools.web.search or plugins.entries.firecrawl.config.webSearch for this use case.

Tiny note: baseUrl is optional because that cloud URL is the default, and apiKey can also be omitted because FIRECRAWL_API_KEY is a fallback. I’d still keep the SecretRef line because it documents exactly where the hidden token comes from.

lilac quest
#

where are "onlyMainContent", "maxAgeMs" and "timeoutSeconds" documented?

lavish tartanBOT
# lilac quest where are "onlyMainContent", "maxAgeMs" and "timeoutSeconds" documented?

They’re in two places:

The generated config reference also lists the defaults under plugins.entries.firecrawl.config.webFetch: https://docs.openclaw.ai/gateway/configuration-reference

Current meanings/defaults:

  • onlyMainContent: extract only main page content, default true
  • maxAgeMs: max Firecrawl cache age in milliseconds, default 172800000 / 2 days
  • timeoutSeconds: Firecrawl scrape request timeout, default 60

So for a minimal config you can leave those three out and just keep the provider + env SecretRef.