Link AI Assistants & Group Permissions
This article explains how to link databases to AI Assistants and how to control database access scope through group permissions
After creating a database and configuring the data tables, you need to link the database to an AI Assistant so the AI Assistant can use the Text to SQL feature to query data.
Link AI Assistants
Steps
Go to the database settings page and switch to the "Link AI Assistants" tab
The left side of the page shows available AI Assistants, and the right side shows linked AI Assistants
Select the AI Assistants you want to link from the left side and click the arrow button to move them to the right side
Click "Save" when finished
Make sure the AI Assistant's response mode is switched to Agent Mode, otherwise the Text to SQL feature cannot be used.
For details on response modes, see: Create AI Assistant
Multi-Database Query
An AI Assistant can be linked to multiple databases. When a user asks a question, the AI Assistant automatically determines which database to query based on the question content:
User: "What were the sales last month?"
→ AI Assistant automatically queries the "Sales Database"
User: "How many employees are currently in the Marketing department?"
→ AI Assistant automatically queries the "HR Database"Group Permission Management
Group permissions let you control database access scope for different teams in your organization, ensuring each team can only see databases relevant to them.
Configure Group Permissions
Go to the database settings page and switch to the "Group Permissions" tab
Use the transfer component to move the groups you want to authorize from the left side to the right side
Click "Save" when finished
Permission Levels
Database access is determined by the following conditions together:
Database owner (creator) can access all databases they created, not restricted by group permissions
Non-owners need group permissions to access databases
Last updated
Was this helpful?
