Workspaces let you divide SQLBot into isolated environments for different teams, projects, or business units. Each workspace has its own set of datasources, members, terminology entries, and SQL training examples. A user in one workspace cannot see or query data in another. This makes workspaces the primary tool for controlling data access across your organization.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dataease/SQLBot/llms.txt
Use this file to discover all available pages before exploring further.
Default workspace
Every SQLBot installation starts with a single default workspace (ID 1). All users are assigned to the default workspace until an administrator moves them elsewhere. The default workspace cannot be deleted.If your organization only has one team or data domain, you may never need to create additional workspaces. The default workspace is fully functional on its own.
Workspace roles
Within a workspace, users have one of two roles:Workspace admin
Can add and configure datasources, manage members, create assistants, and maintain the terminology library and SQL training examples. Full control over everything in the workspace.
Member
Can start chat sessions and query any datasource connected to their workspace. Cannot change datasource configuration, add members, or manage workspace settings.
isAdmin = true) can manage all workspaces, create new ones, and move users between workspaces from the administration panel.
Creating a workspace
Only system administrators can create workspaces.Open the administration panel
Navigate to Settings → Workspaces in the top navigation. This section is only visible to system administrators.
Click Create workspace
Click Create and enter a name for the new workspace. The name should describe the team or data domain it represents (for example, “Finance Analytics” or “Product Insights”).
Adding users to a workspace
After creating a workspace, you need to assign members to it. This can be done by a system administrator from the workspace settings panel, or by a workspace admin from within the workspace.Go to Members
Click the Members tab to see current workspace members and a search field for adding new ones.
Search for a user
Type a name or account identifier in the search field. Only users who are not already members of this workspace appear in the results.
Changing a member’s role
System administrators can change a user’s role within a workspace at any time:- Open the workspace and go to Members.
- Find the user and click Edit.
- Switch between Member and Workspace admin, then save.
Removing users from a workspace
To remove a member from a workspace:- Open the workspace and go to Members.
- Select the user and click Remove.
- Confirm the removal.
When a user is removed from a workspace, SQLBot automatically resets their active workspace to the default workspace (ID 1). They will still be able to log in and use the default workspace.
How data access is controlled
Data access in SQLBot follows workspace boundaries strictly:- A datasource belongs to exactly one workspace. It cannot be shared across workspaces.
- A user can only query datasources in workspaces they are a member of.
- Terminology entries and SQL training examples are workspace-scoped — they only assist queries in the workspace where they were created.
Deleting a workspace
Only system administrators can delete workspaces. The default workspace (ID 1) cannot be deleted. Before deleting a workspace: To delete:- Go to Settings → Workspaces.
- Click the workspace and select Delete.
- Confirm the deletion.