> ## 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.

# Applications

> Manage deployable units within your repositories.

export const CtaGetStarted = ({label = "Ready to make delivery flow again?"}) => <div style={{
  display: "flex",
  justifyContent: "space-between",
  alignItems: "center",
  marginTop: 80,
  background: "#1a1b1e",
  color: "#fff",
  borderRadius: 8,
  border: "1px solid #69db7c",
  padding: "10px"
}}>
    <div style={{
  display: "flex",
  justifyContent: "space-between",
  alignItems: "center",
  gap: 12,
  fontWeight: 500
}}>
      <img src="https://mintlify.s3-us-west-1.amazonaws.com/sweetrdev/logo.svg" height={24} width={24} style={{
  margin: 0
}} />
      <div>{label}</div>
    </div>
    <a href="https://github.com/apps/sweetr-dev/installations/new" rel="nofollow" className="not-prose" style={{
  padding: "8px 16px",
  background: "#69db7c",
  color: "#000",
  borderRadius: 4,
  fontSize: 14
}}>
      Try now
    </a>
  </div>;

## Demo

<Frame>
  <img src="https://mintcdn.com/sweetrdev/pcmOxpRgFjEN2lK0/images/applications.png?fit=max&auto=format&n=pcmOxpRgFjEN2lK0&q=85&s=4e501495de6e8e6d9ffacaf348fdf918" width="2560" height="1280" data-path="images/applications.png" />
</Frame>

## How it works

Applications represent deployable units within your repositories. They connect a repository to its deployments and environments, making it possible to track deployment history and DORA metrics per application.

Applications support **monorepo setups**. A single repository can have multiple applications, each mapped to a subdirectory.

## Creating applications

Applications can be created in two ways:

* **Manually**: Create an application from the UI and configure its deployment settings.
* **Automatically**: When a deployment is sent via the API, Sweetr auto-creates the application if it doesn't exist.

## Deployment settings

Each application has configurable deployment settings that control how deployments are tracked:

| Setting           | Description                                                         |
| ----------------- | ------------------------------------------------------------------- |
| **Trigger**       | How deployments are created: API Webhook or PR Merge.               |
| **Target branch** | For merge-based triggers, the branch that represents production.    |
| **Subdirectory**  | For monorepos, the path within the repository for this application. |

## Archiving

Applications that are no longer in use can be archived. Archived applications are hidden from filters and excluded from metrics. You can unarchive them at any time.

## Related

<CardGroup cols={2}>
  <Card title="Deployments" icon="rocket" href="/platform/deployments" />

  <Card title="DORA Metrics" icon="chart-line" href="/metrics-and-insights/dora" />
</CardGroup>

<CtaGetStarted />
