backend-as-a-service10 minutes

Get Started with Supabase

Quick Summary

The open-source Firebase alternative with Postgres

Best for: Startup founders and indie developers who need a complete backend-as-a-service with auth, database, and storage in one place
Time to first integration: 10 minutes

📋Prerequisites

  • Node.js 18+ installed
  • A Supabase account — sign up here
  • An existing project (Next.js, React, or Node.js recommended)

Setup Steps

4 steps
1

Create a project

Create a project at supabase.com and copy the project URL and anon key.

2

Install

Add the Supabase JS client to your project.

bash
npm install @supabase/supabase-js
3

Initialize the client

Create a Supabase client with your project URL and anon key.

typescript
import { createClient } from '@supabase/supabase-js' const supabase = createClient(projectUrl, anonKey)
4

Query or authenticate

Use the client to query your database or manage auth.

typescript
const { data } = await supabase.from('table').select() // or auth: await supabase.auth.signInWithPassword({ email, password })

Related Guides

Setting up a full stack? Check out these complementary guides.

Links