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

# Data Connectors

> Connect SQL and NoSQL databases to your agents for real-time natural language querying.

Lyzr connects with leading SQL and NoSQL data sources, enabling agents to access and query live data in real time.

To connect a database to an agent, you create a **Semantic Model**, which defines the relevant subset of your database for that agent. This scoping gives the agent the schema context it needs to generate accurate queries while keeping performance predictable.

Once connected, your agent converts natural language questions into SQL queries and returns results directly. Agents built on a Semantic Model are called **Data Query Agents** or **Text-to-SQL Agents**.

<iframe width="100%" height="400" src="https://www.youtube.com/embed/yzn6xOGs9lk" title="How to build a Text-to-SQL agent in Lyzr" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

## Supported connectors

| Connector                      | Type  | Status    |
| ------------------------------ | ----- | --------- |
| Amazon Redshift                | SQL   | Available |
| PostgreSQL                     | SQL   | Available |
| MySQL                          | SQL   | Available |
| Google BigQuery                | SQL   | Available |
| MongoDB                        | NoSQL | Available |
| Azure SQL                      | SQL   | Available |
| Microsoft SQL Server           | SQL   | Available |
| File Upload (CSV, Excel, JSON) | File  | Available |
| Databricks                     | SQL   | Upcoming  |
| Snowflake                      | SQL   | Upcoming  |

Don't see your data source? Contact [support@lyzr.ai](mailto:support@lyzr.ai) to request it.

## Adding a connector

1. Go to **Connections > Data Connectors** in Agent Studio.
2. Select the database type.
3. Enter connection credentials. Credentials are encrypted at rest and never logged.
4. Test the connection before saving.

## Next steps

* [Semantic Model](../../agent-studio/knowledgebase/studiosem): configure the data model your agent uses to interpret and query your database.
