> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/settings/organization/managing-teams.md).

# Creating & managing teams

To see your data in Swarmia, you need to organize authors into teams. You can create teams in several ways:

* Create a new team manually
* Import teams from GitHub
* Import teams with [CSV](https://help.swarmia.com/settings/organization/managing-teams/csv-team-import.md)
* Manage teams with [MCP](https://help.swarmia.com/settings/organization/managing-teams/manage-teams-with-mcp.md)
* Integrate with [Swarmia Teams API](https://help.swarmia.com/settings/integrations/swarmia-apis/team-management.md)

Navigate to [team settings](https://app.swarmia.com/settings/teams) to get started.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Fgit-blob-08c11810f2800adc86d4534d3db666687197e81c%2FScreenshot%202025-11-17%20at%2011.18.02.png?alt=media" alt=""><figcaption></figcaption></figure>

## Defining team members

You can add the following members to a Swarmia team:

* **Authors:** Search for existing authors by name, email, or GitHub or GitLab username. Authors can include contractors, former employees, and people without a GitHub account. If an author isn't in Swarmia yet, you can add them using [CSV import](https://help.swarmia.com/settings/organization/managing-teams/csv-team-import.md).
* **GitHub teams:** Add a GitHub team to keep its membership in sync. To add or remove members of the linked GitHub team, update it in GitHub.
* **Swarmia teams:** Add an existing team as a subteam to build a hierarchy.

Adding an author to a team doesn't grant them access to Swarmia. [Learn how to manage access](https://help.swarmia.com/settings/organization/managing-users-and-roles.md#managing-access).

You can also import multiple GitHub teams to create Swarmia teams. Connect a GitHub organization first. The import view shows which GitHub teams have already been imported and which are available.

## Setting up hierarchies

Create parent teams and assign subteams to them. You can create an empty parent team before adding subteams. A parent team inherits its subteams' members, and you can repeat this setup for multiple levels of your organization.

You don't need to create a team to resemble your entire engineering organization. You can automatically use the organization level, even if you don't create any hierarchy of teams.

### **Teams with subteams**

* For the most part, teams with subteams work just like other Swarmia teams. **No additional configuration is required.**
  * For teams with subteams, the work shown everywhere across Swarmia is defined as a combination of their subteams’ work.
  * You can add working agreements and enable notifications for teams on all levels.
  * You can add direct members or GitHub teams to any team, even if the team has subteams.

### **Limitations**

* **Each team can only have one parent team.** This means you can't use team hierarchy to map a matrix organization structure. Please contact Swarmia support via the in-app chat if you need this configuration.
* If you convert a team to a parent team, it loses any filters around team ownership it previously had — they will be inherited from the subteams instead.

## Assigning Team admins

You can assign one or more team admins for each team to delete the Swarmia configuration while controlling who can edit memberships and configure team settings. Team admin is an optional selection. [Read more about roles and permissions](https://help.swarmia.com/settings/organization/managing-users-and-roles.md).

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Fgit-blob-db82c498c1b8670533802bb90b25d9e24bbdc3f8%2FScreenshot%202025-10-14%20at%2012.48.32.png?alt=media" alt=""><figcaption><p>Assign team admins by editing a team.</p></figcaption></figure>

## Define team ownership

Teams are important for managing which pull requests (PRs) and issues are included in the data for different Swarmia features, from insights to working agreements. You'll want to ensure that the Pull Request and Issue Ownership of your team is correct to ensure the most accurate metrics. Selecting Slack or Microsoft Teams channels enables team notifications and daily digest.

1. Team Pull Request Ownership
   1. By default, we include any PRs created by anyone in the team. You can configure PR ownership rules for teams to adjust which work is included by navigating to the [Team Pull Request page.](https://app.swarmia.com/settings/team/pull-requests)
2. Team Issue Ownership
   1. To unlock Issue data in Swarmia in the Work Log view and Flow Insights, you will first need to assign Team Issue Ownership in [Settings → Team → Issues](https://app.swarmia.com/settings/team/issues).
   2. Once a team has been properly mapped, they will show up as 'assigned' in the Team Management page.
3. Team notification channel
   1. Select a Slack or Microsoft Teams channel to receive team notifications and daily digest. Configure the channel in [Settings → Team → Notifications](https://app.swarmia.com/settings/team/notifications)

Right after you have created the team, Swarmia suggests the right issue tracker project and notification channel for the team. You can confirm, override or skip the selection.


---

# 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://help.swarmia.com/settings/organization/managing-teams.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.
