As your Supabase project grows, you'll inevitably need to tweak its settings to optimize performance, manage access, and integrate with other services. This section will guide you through the essential project settings available within your Supabase dashboard.
The 'Project Settings' area is your central hub for managing your Supabase instance. It's divided into several key categories, each offering granular control over different aspects of your project.
This is where you'll find basic information about your project. You can rename your project, update its description, and crucially, manage your project's API keys.
Your API keys are vital for connecting your frontend applications and other services to your Supabase backend. Treat these with care and avoid exposing them in client-side code.
You'll see several keys here:
- Public API Key: Safe to use in client-side applications.
- Secret Key: For server-side use only. Never expose this key in your frontend code.
- JWT Secret: Used for signing JSON Web Tokens (JWTs).
- Service Role Keys: For server-side operations that require elevated privileges, bypassing Row Level Security (RLS).
const supabaseUrl = 'YOUR_SUPABASE_URL';
const supabaseKey = 'YOUR_PUBLIC_SUPABASE_ANON_KEY';
const supabase = createClient(supabaseUrl, supabaseKey);This section provides control over your PostgreSQL database. You can manage extensions, monitor database performance, and configure backup settings.