# Group Assignments

Groups for group assignments are managed entirely within CodeGrade. Group sets are created in CodeGrade on a course-level, meaning that multiple assignments within one course can have the same groups.

{% hint style="info" %}
It is important that a regular individual assignment is created within your LMS, and **not** a group assignment. CodeGrade handles all the groups and makes sure grades and feedback are passed back correctly to the corresponding group members.&#x20;
{% endhint %}

![Adding a group set to your course in the Course Manager](/files/sE6dvKeO16vwdw10mZ2t)

1. A group set for your course in CodeGrade has to be created first. Click the **Settings** button next to your course to go to the **"Course Settings"** page.
2. Navigate to the **"Groups"** tab to find an overview of previously created group sets or to create a new group set.
3. Click the **"Add group set"** button to create a new group set, specify the minimum and maximum group sizes and press **Save**.
4. Now that a new group set is created, this group set can be linked to assignments. Go to the **"Assignment Settings"** page of the assignment you want to make a group assignment by clicking the **Settings** button.
5. On the **"General"** tab, scroll down to the **"Group Assignment"** section. Here, select the desired group set and confirm by pressing **"Submit"**. Your assignment is now a group assignment!

{% hint style="success" %}
Set your minimum group size to **1**, so that individual users that are not in a group can still hand in submissions too.
{% endhint %}

![Connecting the created group set for an assignment in the Assignment Manager](/files/KQH6KXn5gdC9iEWdneMm)

By default, students can create new groups and join groups within a group set themselves. The names of groups are automatically generated but can be manually changed afterwards. If you want to change this default behaviour (e.g. make it impossible for students to create or join groups themselves).

{% hint style="success" %}
Want to exclude individual students from working in a group? Create a new role called "*Individual Student*" and give that role the "*Upload without group*", now all students with this role can submit their work without enrolling in a group! Read more about [setting up permissions and roles here](/faq/configuring-roles-of-members.md#creating-a-new-role).
{% endhint %}


---

# 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://help.codegrade.com/setup-assignment/other-features/making-a-group-assignment.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.
