PostgreSQL

PostgreSQL is the most efficient general purpose database for creating Data Warehouses and Data Lakes due to its efficiency in complex joins and high availability during insertions of high volumes of information.

 

Click here to access the tutorial on how to connect to your visualization tool:
Looker Studio
Power BI

 

In this article, we will show how to register a PostgreSQL database as a destination on the Kondado platform. 

Before adding the database, make sure that the database's username and server are accessible to our IPs that are listed here and then follow the steps below:

1) On the Kondado platform, go to the add new destinations page and select the PostgreSQL data destination

2) Fill in your database information as shown below:

  • Name: This is the internal description of your destination on the Kondado platform
  • Address: Your database server address (IP or DNS)
  • Port: Your database port (usually 5432)
  • Database: the name of the database
  • User: the username that Kondado will use to enter data into your database. This user must have permissions to DROP, INSERT, CREATE, ALTER, SELECT and DELETE tables and schemas 
  • Password: the user's password
  • Schema: inform a schema or leave the default “public” [1]

Click save and your new destination will be created!

[1] Kondado will try to create the schema with the value informed in the “schema” parameter and if this is not possible (for example, due to lack of permission), the public schema will be used. Even if the schema already exists, Kondado must have permission to create schemas (“GRANT CREATE ON DATABASE db TO user”) if you do not want to use the public schema. For existing schemas, it is also important that the user registered at Kondado has permission to use the schema (“GRANT USAGE ON SCHEMA schema_name TO user;”)

Add PostgreSQL as a Data Destination on Kondado

Register a PostgreSQL database as a destination on the Kondado platform to store your integrated data.

1
Whitelist Kondado IPs on your database server

Before adding PostgreSQL, ensure your database username and server are accessible to Kondado's IPs. Check the IP list in the article and configure your firewall rules accordingly.

2
Navigate to the destinations page on Kondado

On the Kondado platform, go to the add new destinations page and select the PostgreSQL data destination to begin registration.

3
Enter your database connection details

Fill in the required fields: Name (internal description), Address (IP or DNS), Port (usually 5432), Database name, User with DROP/INSERT/CREATE/ALTER/SELECT/DELETE permissions, Password, and Schema (default is "public").

4
Save and verify your new destination

Click save to create your destination. Kondado will attempt to create the specified schema; if permissions are insufficient, the public schema will be used. Ensure your user has proper schema permissions as noted in the article.

5
Connect to your visualization tool

After setting up PostgreSQL as a destination, you can connect it to your preferred BI tool. See options like Looker Studio or explore other data visualization integrations.

Frequently asked questions

What permissions does the PostgreSQL user need for Kondado?
The user must have permissions to DROP, INSERT, CREATE, ALTER, SELECT, and DELETE tables and schemas. Additionally, Kondado needs permission to create schemas ("GRANT CREATE ON DATABASE db TO user") and, for existing schemas, usage permission ("GRANT USAGE ON SCHEMA schema_name TO user").
What is the default schema used when adding PostgreSQL to Kondado?
The default schema is "public" if you don't specify one. Kondado will try to create the schema you specify, but if that fails due to permissions, it will fall back to the public schema.
What port should I use when connecting PostgreSQL to Kondado?
The standard PostgreSQL port is 5432. You should enter this in the Port field unless your database is configured to use a different port.
Why do I need to whitelist Kondado's IPs before adding PostgreSQL?
Your database server address and username must be accessible to Kondado's IPs for the platform to establish a secure connection and write data to your database. The specific IPs are listed in the article.
Can I use PostgreSQL with BI tools after setting it up as a destination?
Yes, once PostgreSQL is configured as a destination on Kondado, you can connect it to various visualization tools. The article mentions Looker Studio and Power BI as options, and you can explore more data visualization integrations on the platform.

Written by·Published 2023-07-06·Updated 2026-04-25