# DEB-126: Implement a mechanism to configure one or more DB connectors with chat interface

> **Jira:** [DEB-126](https://divami.atlassian.net/browse/DEB-126)  
> **Source Report:** [20260315.md](../../reports/jira/20260315.md)

- **Status:** Start
- **Assignee:** Unassigned
- **Priority:** Medium
- **Created:** 2026-01-20T16:55:51.518+0530
- **Updated:** 2026-02-09T15:06:53.191+0530

**Description:**

Application should have the ability to connect to more than one Database systems of different vendors (Eg. MySQL, Postgres, SQL Server, Oracle etc.), so that it can retrieve the response from there.

**Architecture Diagram:**

```mermaid
flowchart LR
    subgraph Admin[Admin Config]
        A[Configure DB Connector<br/>host, port, credentials, type]
    end
    subgraph DSA[DB Data Source Agent]
        B[DB Connector Registry]
        C{DB Type Router}
        D[PostgreSQL Adapter]
        E[MySQL Adapter]
        F[Oracle Adapter]
        G[SQL Server Adapter]
    end
    subgraph Query[Query Flow]
        H[NL Query] --> I[NL2SQL Engine]
        I --> C
    end

    A --> B --> C
    C --> D & E & F & G
    D & E & F & G --> J[Return data]
```
