SupabaseS
Supabaseโ€ข17mo ago
WernerLouw

Assistance Needed with Supabase and n8n Integration on Local Docker Setup

Hi everyone! ๐Ÿ‘‹

I'm currently working on a project where I'm hosting Supabase locally using Docker and trying to integrate it with n8n for automation purposes. However, Iโ€™ve run into a bit of a roadblock and would really appreciate any guidance or tips from those who might have faced a similar challenge.

Here's what I've done so far:

Successfully started Supabase locally using supabase start via the CLI.
n8n is set up through docker as well and I'm trying to link it to my Supabase database. n8n is working on other flows.
The Issue:
n8n is asking for a host URL and a secret key to connect to the database. I believe Iโ€™ve correctly identified the host URL from the Supabase CLI output, but I'm unsure about the correct secret key to use, or if thereโ€™s something specific Iโ€™m missing in the configuration. On cloud there is a gear icon where I can get details of the API. In the local system, there is no gear icon. ๐Ÿ˜ณ

What Iโ€™ve Tried:

Using the API URL, and any and all of the secret keys, but not one of these seem to work. These are the ones I found after pressing "Supabase start"

My Questions:

Has anyone successfully linked n8n to a locally hosted Supabase instance? If so, what did your setup look like?
Are there any common pitfalls or additional configuration steps I might be overlooking?
Any advice, tips, or resources would be immensely helpful! ๐Ÿ™

Thanks in advance to anyone who can help out. I'm really excited to get this integration working and would love to learn from this awesome community.

Cheers! ๐ŸŽ‰
Was this page helpful?