# Connect Your Database: Postgres, MySQL, SQL Server and More

> Connect PostgreSQL, MySQL, SQL Server, Oracle, MongoDB or Supabase. Your team asks in plain English; Supaboard runs read-only queries when you ask and shows the query behind each result.

HTML version: https://supaboard.ai/product/databases

Ask more of your database.

Connect your operational database and let your team explore it in plain English. Supaboard runs read-only queries when you ask, so there’s no export to prepare.

## Connect directly

- [PostgreSQL](https://supaboard.ai/integrations/postgresql)
- [MySQL](https://supaboard.ai/integrations/my-sql)
- [Microsoft SQL Server](https://supaboard.ai/integrations/ms-sql-server)
- Oracle
- MongoDB
- Supabase

## See the query behind the answer.

Ask about orders, customers or product activity in plain English. Inspect the query behind the result, then ask a follow-up to explore further.

**How a question reaches your data** (illustrative workflow)

1. Question: "How many subscriptions are active?"
2. Query against Product database, checked for write operations before it runs. Runs as the connected database user.
3. Result: 284 (active_subscriptions). Ask a follow-up, Show as a chart.

```sql
SELECT COUNT(*) AS active_subscriptions
FROM subscriptions
WHERE status = 'active';
```

[Explore AI Analyst](https://supaboard.ai/product/ask-analysts)

## Set up once. Keep asking.

1. **Connect your database.** Enter its connection details and configure the network access your setup needs.
2. **Check the tables.** Let Supaboard discover the schema, then confirm the tables you expect are available.
3. **Set up the agent.** An agent is the AI analyst set up for your team’s data. Choose which tables it can use and who can use it, then ask a simple question to check the connection.

**Before you start:** Ask your database administrator for credentials with read-only permissions and an approved network route. SSL, SSH and VPN options depend on the connector.

[Read the setup guide](https://docs.supaboard.ai/data-sources/connect-a-data-source)

## Choose what the agent can read.

Supaboard connects as the account you provide. Use an account with only the read permissions needed for the analysis.

Then scope the agent to the relevant sources and tables, and choose who can use it.

**Control the account, the tables and the people**

1. **Database account.** Grant access only to the data you intend to share.
2. **Agent scope.** Choose which of those tables the agent can use.
3. **People.** Choose who can use that agent in Supaboard.

Queries are checked for write operations before they run. Source permissions provide an additional boundary.

[How agents work](https://supaboard.ai/product/agents)

## FAQ

### Does Supaboard change the data in my database?

Database and warehouse queries are read-only. We also recommend connecting with a database user that has read-only permissions.

### Do I need to copy my database into Supaboard?

No full replica is needed for a direct connection. Queries run against your database. Returned results are saved with the conversation, so some data is stored in Supaboard as part of the analysis.

### Will queries use my database’s resources?

Yes. Direct queries run on your database. Your database administrator can help choose the appropriate account and endpoint for the workload.

### Can I connect a database on a private network?

Network options vary by connector. Check the setup guide for IP allowlisting, SSL, SSH tunnel or IPsec VPN support.

[Read the connection guide](https://docs.supaboard.ai/data-sources/connect-a-data-source)

## Related data sources

- [Start with a file](https://supaboard.ai/product/file-uploads): Turn an export, a spreadsheet or a document into something you can ask questions about.
- [Use your data warehouse](https://supaboard.ai/product/data-warehouses): Make the tables your data team maintains easier for your wider team to work with.
- [All connection options](https://supaboard.ai/product/data-connections)

## Your database has more to tell you.

Connect it once. Give your team a direct way to explore it.

---

- Site index for agents: https://supaboard.ai/llms.txt
- Sitemap: https://supaboard.ai/sitemap.xml
- Blog feed: https://supaboard.ai/blog/rss.xml
- Product documentation: https://docs.supaboard.ai

Any page on https://supaboard.ai is available as markdown: append `.md` to its path, or send `Accept: text/markdown`.
