Database Connector
The Database Connector allows you to securely connect a shared database to a Project, making its data available to all project members through chat.Important change: Database connectors are no longer added directly inside a chat. They are now project-level shared connectors, managed from the Project sidebar.
Creating a Database Connector
To create a database connector:- Open your Project Sidebar
- Click Connectors
- Click Create connector
- Select Database
- Enter the required connection details
- Establish the connection
Connection strings made simple
A connection string is like an address that tells the system where to find your database and how to access it. Your IT team can help you build the right connection string for your database.Supported database types
- Microsoft SQL Server
- PostgreSQL
- MySQL
Connection string
Here’s what each part means (ask your IT team for the correct values):Advanced Configuration
After the database connection has been established, you can configure advanced parameters to control how the database is used.Table and Schema Restrictions
You can limit the connector’s access to:- Specific schemas
- Specific tables
- Reduce unnecessary data exposure
- Improve query accuracy
- Prevent the LLM from querying irrelevant data
Connector Description
You can define a description for the database connector. This description is provided to the LLM and should explain:- What the database contains
- How the data is structured
- Any important rules or conventions
Using the Database Connector in Chat
Once created, the database connector can be used in chats:- Open or create a chat within the project
- Use the Connectors selector in the chat input
- Enable the database connector
Pre-Selected Connectors
Project administrators can configure database connectors to be pre-selected for every new chat in the project. This is especially useful when:- The database is a core part of the project workflow
- Non-technical users need access to MCPs or databases without having to deal with complex configuration
- Consistent data access is required across all conversations
Personal and Private Usage
If a user wants to configure their own database connectors without sharing them:- Create a private project
- Create database connectors using the same process
- Use them exclusively within that private project
Requirements and Considerations
- The database must be reachable from the connector environment
- Network access, firewalls, and IP allowlists may need configuration
- Queries generated by the LLM respect the connector’s configured scope
Security
- Credentials are stored securely
- The LLM can only access data allowed by the connector configuration
- Schema and table restrictions are enforced at query time