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

# Workspaces

> A workspace is a self-contained space where a team does their work. Administrators have a unified view across all workspaces, while other users see only the workspaces they belong to.

When you begin your setup with Connect AI, there is only one workspace: **General**. You can add a workspace for each group in your organization, such as separate customer accounts or separate job functions. Users with a system role of Administrator can view and manage users, service accounts, and connections for any workspace across your account, as well as manage account-level settings such as AI providers. Users with a system role of Workspace Administrator can manage connections and add existing users to their assigned workspaces only (without inviting new users). See [Permissions](https://docs.cloud.cdata.com/en/Permissions.md) for details.

After you add one or more workspaces, you can select the active workspace from the **Workspace** drop-down list in the navigation pane:

![Workspace drop-down list](https://mintcdn.com/cdata/BnicZbA-FHUEwDF1/en/images/workspace_dropdown.png?fit=max\&auto=format\&n=BnicZbA-FHUEwDF1\&q=85\&s=32037b59ca7848a8989f0751fb416666)

## Workspace Access by Role

Your system role determines what you can see and do in a workspace. The Administrator role applies to the entire account. All other system roles apply only within the workspaces that you are assigned to, and you can hold a different system role in each workspace.

| Role | Workspaces You Can Access | Create Workspaces | Edit Workspace Settings | Manage Users, Groups, and Service Accounts | Manage Connections and Virtual Schemas |
| - | - | - | - | - | - |
| Administrator | All workspaces | Yes | Yes | Yes | Yes |
| Workspace Administrator | Assigned workspaces | No | Yes | Add existing users to and remove users from the workspace and assign Connection Administrator and Query roles (cannot create or invite users) | Yes |
| Connection Administrator | Assigned workspaces | No | No | View users only | Yes |
| User Administrator | Assigned workspaces | No | No | Manage users, add existing users to and remove users from the workspace (cannot manage connections) | No |
| Query | Assigned workspaces | No | No | No | No (can query connections that they have permission to use) |

Access roles add data and virtual schema permissions on top of your system role. A user can receive an access role directly or through a SCIM group, and a group can have a different access role in each workspace it belongs to. Access roles are being replaced by [policies](https://docs.cloud.cdata.com/en/Roles-Policies/Policies.md), which grant data access within a single workspace. System roles remain available. See [Roles](https://docs.cloud.cdata.com/en/Roles-Policies/Roles.md) and [Permissions](https://docs.cloud.cdata.com/en/Permissions.md) for details.

## Manage Workspaces

Use the **Workspaces** page to manage the users, groups, and service accounts within each workspace and to add new workspaces to your account.

![Workspaces page listing each workspace with its user, group, and service account counts](https://mintcdn.com/cdata/TFnkSBQ9pWeBj5xZ/en/images/workspaces.png?fit=max\&auto=format\&n=TFnkSBQ9pWeBj5xZ\&q=85\&s=31384472bdfc4d6e9da8989ee9a2f50b)

> [!NOTE]
>
> You must have the Administrator system role to create a workspace. A Workspace Administrator cannot invite users and does not see the **Identities** page, but can add existing users to their workspaces on the **Workspaces** page and assign the Connection Administrator and Query roles.

The **Workspaces** page displays a search bar to search for a workspace. It also displays a row for every workspace in your account, with the following information:

* **Name** is the workspace name.
* **Users** is the number of users within the workspace. (Users with the Administrator system role are included in every workspace.)
* **Groups** is the number of SCIM groups that the workspace contains.
* **Service Accounts** is the number of service accounts within the workspace.
* Edit and delete icons for the workspace. You cannot delete the **General** workspace.

### Add a Workspace

To add a new workspace to your account, click **+ Add Workspace** on the **Workspaces** page, or select **Add Workspace** in the **Workspace** drop-down list. An **Add Workspace** dialog appears:

![Add Workspace dialog with fields for the workspace name, users, and groups](https://mintcdn.com/cdata/yWB0vvjC_fTAIcv3/en/images/add_workspace.png?fit=max\&auto=format\&n=yWB0vvjC_fTAIcv3\&q=85\&s=2c8c924e099301135c94500a7087b6d8)

Then complete the following steps:

**Step 1**

Enter a **Workspace Name**.

**Step 2**

In **Step 1: Add Users**, add one or more users to the workspace. Use the search bar to search for users. All users with the system role of Administrator are added automatically to all new workspaces.
\[!NOTE] You can skip this step and add users to the workspace later.

**Step 3**

(Optional) Select a new system role for the user from the drop-down list. You cannot change an **Administrator** role. See [Permissions](https://docs.cloud.cdata.com/en/Permissions.md) for a description of system roles.

**Step 4**

In **Step 2: Add Service Accounts**, add one or more service accounts to the workspace. A service account is a non-human identity, such as an agent, that is authorized to interact with Connect AI.
\[!NOTE] You can skip this step and add service accounts to the workspace later.

**Step 5**

Click **Add Workspace** to add the workspace to your account.

### Edit a Workspace

You can modify or delete a workspace by clicking the edit or delete icon in the **Workspaces** list.

On the **Edit Workspace** page, you can do the following:

* Edit the **Name** of the workspace.
* Add, edit, or delete users in the **Users** tab. See [Users](https://docs.cloud.cdata.com/en/Identities/Users.md) for details.
* Add or remove groups in the **Groups** tab. Only SCIM groups are supported. See [Groups](https://docs.cloud.cdata.com/en/Identities/Groups.md) for details.
* Add, edit, or delete service accounts in the **Service Accounts** tab. See [Service Accounts](https://docs.cloud.cdata.com/en/Identities/Service-Accounts.md) for details.
* Assign system roles and access roles to users within the workspace.

> [!NOTE]
>
> Removing a user or service account from a workspace automatically and permanently revokes their [virtual keys](https://docs.cloud.cdata.com/en/LLM-Gateway/Virtual-Keys.md) for that workspace. Deleting a workspace revokes every virtual key in it. If you add the user or service account back, you must issue a new virtual key. See [Automatic Revocation](https://docs.cloud.cdata.com/en/LLM-Gateway/Virtual-Keys.md#automatic-revocation) for details.

### Delete a Workspace

To delete a workspace, click the delete icon next to it in the **Workspaces** list. You cannot delete a workspace that still contains any of the following:

* Toolkits
* AI projects and tool servers
* Routing policies

If the deletion is refused, the error message names each kind of resource and how many of that kind remain. Delete these resources, and then delete the workspace again.

When you delete a workspace, Connect AI also deletes the Playground conversations and MCP credentials for the workspace.

> [!WARNING]
>
> Deleting a workspace cannot be undone.

### Add a Group to a Workspace

You can add groups to a workspace so that the members of the group have access to that workspace. You can also add a group to a workspace from the group's **Edit Group** page. See [Add a Group to a Workspace](https://docs.cloud.cdata.com/en/Identities/Groups.md#add-a-group-to-a-workspace) in **Groups**.

**Step 1**

On the **Workspaces** page, click the edit icon next to the workspace that you want to add a group to.

**Step 2**

Click the **Groups** tab of the **Edit Workspace** page.

**Step 3**

Click **+ Add Group**. An **Add Groups to Workspace** dialog appears.

**Step 4**

Select the groups that you want to include in the workspace.

**Step 5**

Select an **Access Role** for the group in the workspace, if desired.

**Step 6**

Click **Add Groups**. The groups appear on the **Groups** tab of the **Edit Workspace** page.

## Add Connections to a Workspace

Each workspace is an isolated area with its own users, roles, connections, virtual schemas, and tool servers. A new workspace starts with only its own connections, and only the users and service accounts in that workspace can access them.

A connection belongs to the workspace that is active when you create it. To add a connection to a workspace, select the workspace from the **Workspace** drop-down list, and then add the connection on the [Sources](https://docs.cloud.cdata.com/en/Sources.md) page.

Access to a connection is controlled by roles within its workspace. A user can query a connection only if their system role, an access role, or a [policy](https://docs.cloud.cdata.com/en/Roles-Policies/Policies.md) in that workspace grants permission on it. Roles and permissions in one workspace do not apply to connections in another workspace.

> [!NOTE]
>
> You cannot copy, move, or share an existing connection, virtual schema, or access role with another workspace. To use the same data source in a different workspace, you must recreate the connection there.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.