---
title: "Connecting your database"
description: "Connect a database so Indent can run read-only queries, make charts, and return downloadable results."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.indent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting your database

A connected database is available to Indent across investigations, analyses, and coding tasks — not
just one-off queries. See [Querying and analyzing data](/working-with-indent/querying-data) for what
you can ask.

## Add a database

Add a database from [**Settings → Integrations**](https://app.indent.com/settings/integrations).
Choose the database type and enter its connection details. Databases are organization-scoped, so the
connection is shared with your team. Use read-only credentials — Indent only needs to read data.

Give each database a clear name and a short description, so it's easy to identify when selecting one
in a session and Indent knows what it holds.

## Supported databases

Indent supports **PostgreSQL**, **BigQuery**, and **ClickHouse**. Connection details differ by
engine:

- **BigQuery** — a service-account JSON key and a location (defaults to US).
- **PostgreSQL** — host, port, database, user, and password, plus an SSL mode.
- **ClickHouse** — host, port, database, user, and password, plus a protocol.

## Next steps

- [Querying and analyzing data](/working-with-indent/querying-data) — ask Indent a question about
  your data and get numbers back.

Source: https://docs.indent.com/connecting/databases/index.mdx
