| name | supabase-install-auth |
| description | Install and configure Supabase SDK, CLI, and project authentication.
Use when setting up a new Supabase project, installing @supabase/supabase-js,
configuring environment variables, or initializing the Supabase client.
Trigger with "install supabase", "setup supabase", "supabase auth config",
"configure supabase", "supabase init", "add supabase to project".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(npx:*), Bash(pnpm:*), Bash(pip:*), Bash(supabase:*), Grep, Glob |
| version | 1.53.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","supabase","setup","authentication","sdk"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Supabase Install & Auth
Overview
Install the Supabase SDK, CLI, and project credentials from scratch — covering package install, environment configuration, client initialization, and connection verification for both TypeScript (@supabase/supabase-js) and Python (supabase).
Key facts:
Prerequisites
- Node.js 18+ (for JS/TS) or Python 3.8+ (for Python)
- Package manager: npm, pnpm, or yarn (JS) / pip (Python)
- A Supabase project created at https://supabase.com/dashboard
- Docker Desktop (only if using local development via
supabase start)
Instructions
Step 1 — Install the SDK and CLI
Install the SDK and the Supabase CLI:
JavaScript / TypeScript:
npm install @supabase/supabase-js
npm install @supabase/ssr
npm install -D supabase
Python:
pip install supabase
npm install -g supabase
Verify the CLI is available:
npx supabase --version
Step 2 — Configure Environment Variables
Retrieve project credentials from the Supabase Dashboard (Settings > API) and create the env file:
SUPABASE_URL=https://<project-ref>.supabase.co
SUPABASE_KEY=eyJhbGciOiJIUzI1NiIs...
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1...