Datasource setup

Connect Redshift

Give Querio a Redshift login, connect it to the right endpoint, and verify table access.

You need permission to manage a datasource in Querio. Ask your Redshift administrator for the login, grants, endpoint and network route.

1. Prepare the Redshift login and grants

Use a dedicated database user with a password and access limited to the data your team has approved. Querio's Redshift form accepts Username and Password; it does not offer IAM, SSO or temporary database credentials. An authorized administrator can create a user, or use an existing restricted user:

CREATE USER querio_reader PASSWORD '<GENERATED_PASSWORD>';

Use a generated password that meets Redshift's requirements. Enter it in the Querio connection form, never in a prompt or shared notes. Check that this login can connect to the database you intend to use.

For a local table, have the schema or table owner, or another authorized grantor, run these grants in that database:

GRANT USAGE ON SCHEMA reporting TO querio_reader;
GRANT SELECT ON TABLE reporting.orders TO querio_reader;

USAGE lets the user access objects in the schema; SELECT permits reading this table. Grant other approved tables or views individually. A dedicated login may still inherit broader permissions, so review its roles and existing grants. Redshift's GRANT reference covers other grant scopes. External schemas and shared databases have different rules; ask your administrator to check those separately.

Querio must also be able to discover the table and its columns when you add it to Context. If an approved table does not appear, check what this login can see in Redshift's catalog before changing grants. The connector lists tables, views and external tables, but does not list materialized views.

2. Allow the network connection

Get the Redshift endpoint hostname, database name and configured port from your administrator. Use the endpoint hostname, not a node IP.

In Querio's connection form, select Copy IP Address and give that source address to your administrator. They should allow traffic from Querio to the endpoint and port. A private warehouse also needs a route from Querio's execution environment; a security-group change alone may not provide one. See AWS's connection troubleshooting if the connection times out.

3. Enter the connection details

Open Settings > Datasources > Add datasource, choose Internal, enter a stable Slug and optional Name, then choose Redshift as the Database type.

FieldEnter
HostRedshift endpoint hostname, without a URL scheme or port.
DatabaseDatabase containing the approved table, for example analytics.
Username, PasswordThe restricted database login.
PortConfigured Redshift port. Querio defaults to 5439.
SslLeave enabled unless your administrator requires a different setting. It is enabled by default.
SchemaOptional schema for unqualified column lookup, for example reporting. Use reporting.orders to identify a specific table. This field does not grant access or set the SQL search path.

With Ssl enabled, Querio's current Redshift connector verifies the server certificate authority (verify-ca), but does not verify the hostname. The form does not offer sslmode, a custom CA, IAM or an SSH tunnel for Redshift. If your policy requires verify-full, a custom CA or a private tunnel, confirm a supported route with Querio before connecting.

4. Test and save

Select Test connection, then Create. Querio tests the connection again before saving it. A successful test confirms that the supplied login reached Redshift and passed a SELECT 1 ping; it does not prove table access or the result of a query. See connection tests for details.

5. Add a table and verify a query

  1. In Settings > Datasources, review the saved credential assignment. The first credential is initially assigned to Everyone. The person running queries needs datasource permission and exactly one distinct authorized credential, even if they are an Admin. See credential selection.
  2. In Context, select the datasource and choose Add tables. Add the approved reporting.orders table and confirm its columns appear. If it is missing, ask your administrator to check the database, grants and catalog visibility.
  3. As the intended Querio user, run a small query. Replace the table, columns and filter with an approved test case:
SELECT order_id, status
FROM reporting.orders
WHERE order_id = 12345
LIMIT 1;

Compare the row with a known result in Redshift. An empty result may mean the filter matched no rows. If the query fails, check the user's Querio access and the Redshift database, schema and table permissions. Once the result agrees, continue with your first answer.

Was this page helpful?

Last updated on December 1, 2026

On this page