Skip to content
masterclass Buddy

Supabase · Function

createClient

createClient builds a Supabase client from a project URL and publishable key. Use the client to call database and other Supabase APIs.

Last updated

Syntax

createClient(supabaseUrl, supabaseKey)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • @supabase/supabase-js
  • @supabase/ssr
  • from()
  • select()
  • SUPABASE_URL
  • SUPABASE_PUBLISHABLE_KEY

Source: Getting Started with Realtime | Supabase Docs. Checked 2026-11-03.