Skip to main content

Supabase Edge Functions

Use Firecrawl with Supabase Edge Functions to search, scrape, and interact with web data at the edge.
1 min read

Prerequisites#

  • Supabase project with CLI (supabase init)
  • A Firecrawl API key — get one free

Setup#

Set the secret:

Search the web#

Edit supabase/functions/firecrawl-search/index.ts:

Scrape a page#

Edit supabase/functions/firecrawl-scrape/index.ts:

Interact with a page#

Edit supabase/functions/firecrawl-interact/index.ts:

Deploy#

Test it#

Next steps#