Home

Initializing

Create a new client for use in the browser.

Parameters
  • supabaseUrl
    REQUIRED
    string

    The unique Supabase URL which is supplied when you create a new project in your project dashboard.

  • supabaseKey
    REQUIRED
    string

    The unique Supabase Key which is supplied when you create a new project in your project dashboard.

  • options
    Optional
    SupabaseClientOptions

  import { createClient } from '@supabase/supabase-js'

  // Create a single supabase client for interacting with your database
  const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')