# Groups

Users who have access to a solution can be assigned to *Groups* within the scope of that solution. *Groups* can then be used to toggle the visibility of [Widgets](https://github.com/jigx-com/jigx-docs/blob/main/docs/Administration/Solutions/Widgets.md).

For example, a CRM app configured with two Groups: Managers and *Employees*. Managers should have access to widgets that display metrics about all sales opportunities across all employees and employees should only have access to see widgets with information about their own sales opportunities.

<figure><img src="/files/mGHqvxZy4f2Jcu2sWZFW" alt="Manager and Employee View" width="375"><figcaption><p>Manager and Employee View</p></figcaption></figure>

### Creating Groups

Groups are specific to a solution and do not appear globally in all your organization's solutions. You need to create groups per solution.

1. Click on the solution's name in the Solutions list, the solutions menu opens and the options are visible in the left navigation pane. Select the **Groups** icon.
2. Click the **Add group** button at the top right of the screen.
3. Type the name of the group to be created.
4. Click **Add**.

The new group is displayed in the list. Next you need to add users to your groups. The users you going to add to the group must have the solution assigned to their [User profile](/administration/users.md).

<figure><img src="/files/97kW5MswLmRlkdc5sFMv" alt="Creating Groups"><figcaption><p>Creating Groups</p></figcaption></figure>

### Removing Groups

In the event that you want to remove a group from the solution, click the **remove** link next to the group in the Groups list and click **Ok** to the remove message.

You can remove groups but keep in mind that [Widgets](https://github.com/jigx-com/jigx-docs/blob/main/docs/Administration/Solutions/Widgets.md) that had these groups assigned previously will be hidden to users in the removed groups.

### Adding Users to Groups

Each group requires members. The members must have access to the solution to be visible in the **Add user to group** pane.

1. Click on the name of the group you want to add users to.
2. Click on the **Add users to Group:** *Name* button in the top right of the screen.
3. Select the checkbox of the users to be added to the group.
4. Click **Apply**.

<figure><img src="/files/kI9zvPyvKeaABq6UAcxX" alt="Solution Groups for Managers and Employees"><figcaption><p>Solution Groups for Managers and Employees</p></figcaption></figure>

### Removing Users from Groups

Users can be removed from group membership. For example, a user changes positions in your organization and nolonger is a manager.

1. Click on the group name in the list.
2. On the **Permissions** screen, select the checkbox of the user to be removed from the group.
3. Click on the **Remove** link and click **Ok** to the remove message.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jigx.com/administration/solutions/groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
