How can we help?

Search our guides and tutorials, or browse the categories below.

How do I use my Supabase server?

Apps 102 views Markdown
  1. In the panel, open My servers and click your server.
  2. On the Overview tab, wait for the App row to say "Supabase is ready". The page refreshes itself.
  3. Open the link in the Panel address row. Your browser asks for the Login and Password, then Studio opens.

Your API keys

Connect over SSH and read the keys:

grep -E '^(SUPABASE_PUBLISHABLE_KEY|SUPABASE_SECRET_KEY|POSTGRES_PASSWORD)=' /opt/seturack/supabase/.env

Use SUPABASE_PUBLISHABLE_KEY in client code. SUPABASE_SECRET_KEY has full rights, so keep it on the server side. The older ANON_KEY and SERVICE_ROLE_KEY also work.

Your app's address

After setup, Auth's SITE_URL is the password-protected Studio address, and email links go there. In /opt/seturack/supabase/.env, set SITE_URL to your app's address and ADDITIONAL_REDIRECT_URLS to the return addresses you allow. Then run docker compose up -d in that folder.

Connecting to the database

Connect through the pooler on port 5432 or 6543. The user is postgres.your-tenant-id and the password is the POSTGRES_PASSWORD value.

Email

Sign-up can't finish until a confirmation email can be sent. Fill in the SMTP_* values in .env and run docker compose up -d in that folder.

No server yet? Order a server with Supabase installed: you choose the size and pay for what you choose.

Was this helpful?

Thanks for your feedback!

Still Need Help?

If you can't find what you need, get in touch.