Skip to main content
The Supabase addon integrates your Latitude.sh database with Supabase, providing auto-generated APIs and direct database management tools such as a table editor and SQL editor, all running on top of your existing PostgreSQL database.

Enabling the Supabase Addon

The Supabase addon can only be enabled for an existing database. It cannot be configured during the initial database creation process. To enable the Supabase addon:
  1. Navigate to the Databases section in your Latitude.sh dashboard.
  2. Select the database for which you want to enable the Supabase addon.
  3. Click on the Supabase tab on the database overview page.
  4. Click the Enable Supabase Addon button.

After Enabling

Once the Supabase addon is successfully enabled, you will be provided with two important API keys:
  • API_ANON_KEY: This is the anonymous public key. It’s intended for client-side usage, for example, when using the Supabase client library in your frontend application. This key has limited permissions as defined by your Row Level Security (RLS) policies.
  • API_SERVICE_ROLE_KEY: This is the service role key. It’s intended for server-side usage, such as in your backend services or scripts. This key has full access to your database and can bypass Row Level Security (RLS) policies. Treat this key like a password and keep it secure.
After enabling the addon, the “Enable Supabase Addon” button will change to an Open dashboard link. Clicking this link will take you directly to your Supabase project dashboard associated with this database.

Accessing the Supabase Dashboard

Once the Supabase integration is enabled, there are two ways to access the Supabase dashboard:
  1. Open Dashboard Link: After enabling the addon, the button in the Security & Integrations tab transforms into an “Open dashboard” link.
  2. Supabase Button: You will find a dedicated Supabase button in the Security & Integrations tab. Clicking this button will also navigate you to the Supabase project dashboard.
This provides convenient access to the Supabase dashboard where you can use features such as the table editor and SQL editor, and manage your Supabase API access.

Troubleshooting

If you encounter issues with the Supabase addon:
  1. Verify API Key Usage: Ensure you are using the correct Supabase API keys (API_ANON_KEY for client-side, API_SERVICE_ROLE_KEY for server-side) and that they are correctly implemented in your application.
  2. Check Network Connectivity: Confirm that your application can reach the Supabase endpoint associated with your database.
  3. Review Database Logs: Check your database logs for any error messages that might indicate issues with the Supabase integration or underlying database operations.
  4. Consult Supabase Documentation: For issues related to Supabase-specific features or client libraries, the official Supabase documentation can be a valuable resource.
If you continue to experience issues with the Supabase addon, contact Latitude.sh support for assistance.
I