# Postgres Connection Setup Help? (supabase)

**URL:** <https://community.make.com/t/postgres-connection-setup-help-supabase/41171>\
**Category:** Beginner Questions\
**Tags:** connections\
**Created:** [June 10, 2024, 6:10pm UTC](https://community.make.com/t/postgres-connection-setup-help-supabase/41171 "2024-06-10T18:10:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dbg925](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Dbg925](https://community.make.com/u/Dbg925)\
**Post date:** [June 10, 2024, 6:10pm UTC](https://community.make.com/t/postgres-connection-setup-help-supabase/41171/1 "2024-06-10T18:10:25Z")

</div>

Hi all,

Apologies for a low-level noob type question, but I’m having trouble setting up a connection to Supabase and the documentation is non-existent. Does anyone have a step by step guide of what needs to go where to make a connection work? My assumption was that “host” meant the restful API endpoint shown in my Supabase console. I tried both port 8081 as well as 6543 and get the same getaddrinfo ENOTFOUND error.

Can anyone help with some documentation of how to actually setup the connection?

 ![Screenshot 2024-06-10 at 11.04.24 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/2/c228391189385da5ba8eac747ff744f2aa84d4d1.jpeg)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [June 11, 2024, 1:22am UTC](https://community.make.com/t/postgres-connection-setup-help-supabase/41171/2 "2024-06-11T01:22:54Z")

</div>

Welcome to the Make community!

According to [Supabase](https://supabase.com/docs/guides/api) documentation, they implemented RESTful API using [PostgREST](https://postgrest.org/).

The Supabase guide for API keys can be found here [Understanding API Keys | Supabase Docs](https://supabase.com/docs/guides/api/api-keys)

You probably didn’t grant access to your database correctly.

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> ### Join the [Make Fans](https://samliew.com/make-discord-invite) Discord server to [chat](https://samliew.com/make-discord-invite) with other makers!

---

<div class="post-metadata">

**Author:** ![maxmeltech](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@maxmeltech](https://community.make.com/u/maxmeltech)\
**Post date:** [June 15, 2024, 7:34pm UTC](https://community.make.com/t/postgres-connection-setup-help-supabase/41171/3 "2024-06-15T19:34:45Z")

</div>

Have you considered using REST API of [Supabase](https://startintegrate.com/apps/it-development/supabase-u8r7vf), or do you need to run SQL queries?

FYI, for Postgres module host should be taken from Settings → Database, not from Settings → API:

 ![Screen Shot 2024-06-15 at 10.32.26 PM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/c/1c89e53931faf7c1dae71626bfad1d07942ee9dc.png)

See above valid path sample. From there, you should take “connection string”.

Hope that helps,  
[MAXMEL Tech](https://www.maxmel.tech/)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [September 13, 2024, 7:36pm UTC](https://community.make.com/t/postgres-connection-setup-help-supabase/41171/4 "2024-09-13T19:36:17Z")

</div>


