Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt

Use this file to discover all available pages before exploring further.

For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending .md to its URL or sending Accept: text/markdown.
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:parallel-web@0.2.4";

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: