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

# Onboarding

> What Sweetr sets up for you and what to do next.

After installing the Sweetr GitHub App, we run an initial sync that pulls in your organization's repositories, pull requests, code reviews, and teams. This guide walks you through what was set up automatically and what you should review.

## Setup Teams

Sweetr imported your GitHub teams and their members during the initial sync.

> [!WARNING]
>
> **This is a one-time import.**
>
> If you change teams in GitHub later, those changes won't show up in Sweetr.
>
> You'll need to edit teams directly in Sweetr going forward.

### What to do

**1. Review your teams**

Check the [Teams](https://docs.sweetr.dev/platform/teams.md) page. Make sure the imported teams match
your current org structure and remove any that are outdated.

**2. Adjust membership**

Add or remove members as needed. See [Teams](https://docs.sweetr.dev/platform/teams.md) for details on
roles and management.

**3. Explore team insights**

Once your teams look right, you're free to explore team-scoped views like
[Work Log](https://docs.sweetr.dev/metrics-and-insights/work-log.md) and [Work in
Progress](https://docs.sweetr.dev/metrics-and-insights/wip.md).

## Setup DORA metrics

To calculate [DORA metrics](https://docs.sweetr.dev/metrics-and-insights/dora.md), Sweetr needs to know about your [applications](https://docs.sweetr.dev/platform/applications.md), [deployments](https://docs.sweetr.dev/platform/deployments.md), and [incidents](https://docs.sweetr.dev/platform/incidents.md).

> [accordion] Applications
>
> Sweetr created an application for each of your repositories during the initial sync. An application is a deployable unit that connects a repository to its deployments and environments.
>
> > [!WARNING]
> >
> > **Sweetr supports monorepos but can't detect them on initial sync.**
> >
> > If you have monorepos, split the auto-created application into separate
> > applications and map each to a subdirectory. This way pull requests get
> > linked to the right application.

> [accordion] Deployments
>
> Every auto-created application is pre-configured to consider the merge of a Pull Request as a deployment, so you have DORA metrics from day one.
>
> This is often inaccurate as many companies deploy multiple PRs at once. You should switch to the [API Webhook](https://docs.sweetr.dev/platform/deployments.md#setting-up-deployments-for-dora-metrics) trigger for full data accuracy.
>
> > [!TIP]
> >
> > **Tip:** After creating applications, you can go to Settings > Workspace and click
> > "Resync all historical data" to backfill deployments from previously merged PRs.

> [accordion] Incidents
>
> Incidents are production issues caused by a deployment. They feed into Change Failure Rate and Mean Time to Recovery.
>
> Sweetr has [Incident Detection](https://docs.sweetr.dev/automations/incident-detection.md) enabled by default. It creates incidents when it spots rollbacks, hotfixes, or reverts. You can also [create them manually](https://docs.sweetr.dev/platform/incidents.md).

### What to do

**1. Review your applications**

Go to [Applications](https://docs.sweetr.dev/platform/applications.md) and check the auto-created
list. If you have monorepos, split them into separate applications per
service.

**2. Tweak incident detection (optional)**

The [Incident Detection](https://docs.sweetr.dev/automations/incident-detection.md) automation is
already running. If your team uses specific branch names or PR labels for
hotfixes, customize the patterns there. Then check
[Incidents](https://docs.sweetr.dev/platform/incidents.md) to make sure the auto-detected ones look
right.

**3. Check your DORA dashboard**

Go to [DORA Metrics](https://docs.sweetr.dev/metrics-and-insights/dora.md) to see how your team is
doing.

## Inviting teammates

Share the workspace URL with your team. Anyone in your GitHub organization will auto-join when they log in with their GitHub account.

> [!TIP]
>
> You can restrict login access to organization admins only in **Settings > Workspace > Authentication**.

![](https://mintlify.s3-us-west-1.amazonaws.com/sweetrdev/logo.svg)

Ready to make delivery flow again?

[Try now](https://github.com/apps/sweetr-dev/installations/new)


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