Skip to main content
Enrich your Supabase data with live web intelligence using Supabase Edge Functions and Parallel’s Task API.
Check out the Parallel integration on Supabase for more information.

Getting Started

We provide a complete cookbook with Supabase Edge Functions, a Next.js frontend, and step-by-step setup instructions.

Supabase + Parallel Cookbook

Complete working example showing how to build a data enrichment pipeline with Supabase and Parallel.
The cookbook includes:
  • Supabase Edge Functions that call Parallel’s Task API
  • Next.js frontend with live updates via Supabase Realtime
  • SQL schemas for storing enrichment data
  • Polling pattern for handling long-running enrichments

Example Usage

The Edge Function uses the parallel-web SDK to call Parallel’s Task API:
import Parallel from "npm:[email protected]";

const parallel = new Parallel({ apiKey: Deno.env.get("PARALLEL_API_KEY") });

const taskRun = await parallel.taskRun.create({
  input: {
    company_name: "Stripe",
    website: "stripe.com",
  },
  processor: "base-fast",
  task_spec: {
    output_schema: {
      type: "json",
      json_schema: {
        type: "object",
        properties: {
          industry: { type: "string" },
          employee_count: { type: "string" },
          headquarters: { type: "string" },
          description: { type: "string" },
        },
      },
    },
  },
});

const result = await parallel.taskRun.result(taskRun.run_id, { timeout: 30 });
For detailed configuration and advanced features, see the Task API Quickstart. Links: