Skip to main content

Set up data connection

Learn how to connect nao to your data sources. This page will guide you through the process of setting up your data connections securely and efficiently.

Why do I have to connect my data?

With your data connection in nao you will be able to:

  • Execute & preview SQL queries
  • Add data context to the tab & agent
  • Have Agent execute queries for you and run data quality checks
info

You can connect multiple databases at once in Nao.

To add a connection: Go to Settings > Warehouse Connections > Add Connection

You can choose to:

  • Set a connection as a global connection (available across all folders in Nao)
  • Attach a connection to a specific workspace

To do this, hover over a connection and you'll see the options: "Attach to workspace" or "Make global"

Use the small circle next to each connection to activate your desired database.

All your connected databases are visible in the left sidebar for quick access.

Multiple database connections

BigQuery​

Connection Modes
  • Service Account
  • SSO
Connection Details

You can connect with SSO or service account. If SSO, precise the id of your BQ project.

Select multiple project-ids and datasets using the following patterns:

  • Comma separated values (project1,project2): Select specific projects by listing them explicitly (no space after the comma)
  • Wildcard prefix (project_*): Select all projects that start with "project_"
  • Exclusion (!project2): Select all projects except "project2"
BigQuery connection

Snowflake​

Connection Modes
  • User Password
  • SSO
  • Key Pair
Connection Details

You can connect to snowflake with SSO or user and password.

Select specific databases and schemas using the following patterns:

  • Comma separated values (db1,db2): Select specific databases by listing them explicitly (no space after the comma)
  • Wildcard prefix (db_*): Select all databases that start with "db_"
  • Exclusion (!db2): Select all databases except "db2"
Snowflake connection

Postgres​

Connection Modes
  • SSH
  • SSL
  • TLS
Connection Details

Enter the information of your Postgres database to connect. You can connect using SSL, TLS, or SSH.

Postgres connection

Redshift​

Connection Modes
  • SSH
  • SSL
  • TLS
Connection Details

Enter the information of your Redshift database to connect. You can connect using SSL, TLS, or SSH.

Redshift logo

Databricks​

Connection Modes
  • Personal Access Token
  • OAuth User-to-Machine (U2M)
Connection Details

Connect to Databricks using either a Personal Access Token for automated workflows or OAuth U2M for enhanced security with user-specific permissions.

Databricks logo

DuckDB​

Connection Modes
  • Local
Connection Details

Simply provide the path to your DuckDB database file to establish the connection. DuckDB's lightweight nature allows for direct file-based connections.

DuckDB logo

Check your data is connected​

Data warehouse bar

To check your data is connected, open the left panel then click on the data warehouse icon. Here you will see all the tables from your data connection.

When you click on a table, you will be able to preview it directly within nao.

Data preview in nao