Connect to PostgreSQL
Sigma supports secure connections to PostgreSQL.
This document explains how to connect your organization to a PostgreSQL database.
For information about Sigma feature compatibility with PostgreSQL connections, see Region, warehouse, and feature support.
Requirements
- You must be assigned the Admin account type or an account type with the Manage connections feature permission enabled.
- A PostgreSQL data warehouse
- Sigma recommends not granting excessive permissions to the account used to connect to your data store. For example, you do not require SYSADMIN-level access.
Sigma supports PostgreSQL hosted on Google Cloud, Amazon Web Services (AWS), Microsoft Azure, Snowflake, or on premises.
Sigma does not support derivatives of PostgreSQL, such as Supabase, or “Postgres-compatible” databases such as Netezza or CockroachDB.
To use write access with PostgreSQL, PostgreSQL must be version 15 or higher. See Versioning Policy in the PostgreSQL documentation.
Create a PostgreSQL connection
Follow these basic steps to create a connection:
-
Click the user icon at the top right of your screen. The user icon is usually composed of your initials.
-
In the drop-down menu, select Add connection.
-
The Add new connections page appears.
-
In the Connection details, specify the following:
-
In the Connection Credentials section, specify the following fields.
-
In the Connection Features section, specify the following:
-
In the Write Access section, decide if you require write access. See Set up write access.
When you designate a schema as the write access destination, Sigma reserves it for internal write-back objects and doesn’t expose it as a data source in the connection explorer (data catalog). To avoid restricting user access to analytical data, use a dedicated write-back database or schema that doesn’t store data used for analysis and reports.
-
After you specify all the parameters of the connection, click Create.
-
After you successfully create your connection, Sigma displays it on the screen.
-
To verify your connection, click Browse Connection, and then explore the visible databases and tables.
-
Click Add Permission to grant data access for users in your organization. See Data access overview.
-
The new connection also appears in the list of connections you have in your account.
Create a user with the necessary data permissions
When configuring your PostgreSQL connection, you can use an existing PostgreSQL user or create a new user.
If you don’t want to use an existing PostgreSQL user, create a new user for Sigma. If you want to leverage write access, create a schema for Sigma and grant all privileges to your user on that schema. Be sure to GRANT USAGE on all schemas, and GRANT SELECT on all tables that you plan to access in Sigma.
Sigma recommends using a strong username and password for your PostgreSQL user. The sample credentials shown above are for demonstration only.

