Skip to main content

Build in a weekend.
Scale to millions.

Supabase is the open source Postgres development platform. Start your project with a Postgres database, authentication, instant APIs, edge functions, realtime subscriptions, storage, and vector embeddings.

Quick start

Get up and running with Supabase in minutes

1

Create a project

Sign up for a free Supabase account and create a new project. You’ll get a dedicated Postgres database with all the features you need.
# Or start locally with the CLI
npx supabase init
npx supabase start
2

Install the client library

Install the Supabase client for your favorite language or framework.
npm install @supabase/supabase-js
3

Initialize the client

Connect to your Supabase project using your project URL and API key.
import { createClient } from '@supabase/supabase-js'

const supabaseUrl = 'https://your-project.supabase.co'
const supabaseKey = 'your-anon-key'
const supabase = createClient(supabaseUrl, supabaseKey)
4

Start building

Use the Supabase client to interact with your database, authenticate users, store files, and more.
// Query your database
const { data, error } = await supabase
  .from('todos')
  .select('*')
  .order('created_at', { ascending: false })

// Listen to realtime changes
supabase
  .channel('todos')
  .on('postgres_changes', { event: '*', schema: 'public', table: 'todos' }, 
    (payload) => console.log('Change received!', payload)
  )
  .subscribe()
Check out the tutorials for complete working examples.

Explore by feature

Everything you need to build a complete application

Database

PostgreSQL database with full SQL support, extensions, and migrations

Authentication

User management with email, OAuth, and magic links out of the box

Storage

Store and serve large files with built-in image transformations

Realtime

Listen to database changes and build collaborative features

Edge Functions

Deploy serverless TypeScript functions at the edge

AI & Vectors

Build AI-powered features with pgvector and embeddings

Client libraries

Official SDKs for your favorite languages and frameworks

JavaScript

TypeScript client for web and Node.js

Python

Native Python client library

Flutter

Dart client for mobile apps

Swift

Native iOS and macOS support

Kotlin

Multiplatform Kotlin client

REST API

Direct HTTP access to all features

Ready to build?

Start with our quickstart guide and have your first Supabase project running in minutes

Get Started Now