> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/advanced-topics/access-control/user-groups.md). Agents can also search and read this documentation through its [MCP server](https://docs.duplocloud.com/docs/~gitbook/mcp).

# User Groups

This document explains how to create a new Permission Set Group in the DuploCloud AI Suite Access Control panel. A group is a named, reusable bundle of permission sets — creating one does not, by itself, add any users to it.

***

## Prerequisites

* At least one permission set already created (e.g. `QA-Test-Permission-Set`) — see [Permission Sets](https://docs.duplocloud.com/docs/advanced-topics/access-control/permission-sets.md)
* Admin permissions on the Access Control section

***

## Step 1 — Navigate to the Group Tab

Go to **AI Admin → Access Control** in the left-hand navigation, then click the **Group** tab. This lists all existing groups and how many permission sets each one carries.

![Step 1 — Group tab](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-855b2eb856b6e3e14298436e396198b4466683f2%2Fgroups-step-01-access-control.png?alt=media)

***

## Step 2 — Click "Add"

In the top-right corner, click the **+ Add** button. The Add Permission Set Group page opens with **Name**, **Description**, and **Permission Sets** fields.

![Step 2 — Add Group form](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-3a273adbeab2a27f3e13181e9b21cc9f1b198384%2Fgroups-step-02-add-empty.png?alt=media)

***

## Step 3 — Enter a Group Name

Click the **Name** field and type a name for the group.

![Step 3 — Name filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-be8d5f3313b86db54af93d853ee53bbf5364ca0c%2Fgroups-step-03-name-filled.png?alt=media)

***

## Step 4 — Enter a Description

Click the **Description** textarea and describe the group's purpose.

![Step 4 — Description filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-d2127bf337de696ffd08d330a05da91faa1911d8%2Fgroups-step-04-description-filled.png?alt=media)

***

## Step 5 — Select One or More Permission Sets

Click the **Permission Sets** dropdown. Type to filter, then select every permission set this group should grant. You can select more than one.

![Step 5 — Permission set selected](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-f80197211afb0e2af5ce087cec34f76d19ceb6ea%2Fgroups-step-05-permissionsets-selected.png?alt=media)

***

## Step 6 — Submit the Form

Review the completed group, then click **Create Group**. A green **Success** toast confirms the group was saved.

![Step 6 — Success toast](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-c432d25980b01b1e623f8767ded3620c9a08b4b4%2Fgroups-step-06-success-toast.png?alt=media)

***

## Step 7 — Verify the Group in the List

The new group appears in the Groups table with its permission-set count.

![Step 7 — Final groups list](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-8fa441032af6eb554e41acf0dffd3a886c646c1e%2Fgroups-step-07-final-list.png?alt=media)

***

## Adding Users to a Group

A group is only a bundle of permission sets — it does not carry a user list of its own. To add a user to a group, go to the **User** tab, and on that user's Add or Edit form, select this group in its **Permission Set Groups** field. See [Users](https://docs.duplocloud.com/docs/advanced-topics/access-control/users.md).

A user who is a member of an identity-provider-synced group (see [Azure AD & Okta User Sync](https://docs.duplocloud.com/docs/advanced-topics/access-control/azure-ad-okta-user-sync.md)) has that membership managed by the sync job instead, and it will be overwritten on the next sync cycle if changed manually.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/advanced-topics/access-control/user-groups.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
