# Managing applications

*Applications are available starting in* [*Developer Edition*](https://www.sonarsource.com/plans-and-pricing/developer/)*.*

## Permissions <a href="#permissions" id="permissions"></a>

There are two levels of users with permissions for adding and editing applications: users with the **Create Applications** permission and **Global Administrators**.

### Create Applications Permission <a href="#create-applications-permission" id="create-applications-permission"></a>

Users with the **Create Applications** permission (granted at the global level at **Administration > Security > Global Permissions**) can create Applications by clicking the **Create Application** button in the upper-right corner of the **Projects** homepage.

Users with the **Create Applications** permission can edit an individual application definition from the application-level **Portfolio Settings > Edit Definition** interface.

### Global Administrators <a href="#global-administrators" id="global-administrators"></a>

Starting in [Enterprise Edition](https://redirect.sonarsource.com/editions/enterprise.html), **Global Administrators** have access to the overall portfolio and application administration interface at **Administration > Configuration > Portfolios**. From this page, they can create and edit applications.

**Global Administrators** also have access to the **Projects Management** page at **Administration > Projects > Management**. Changing the selection mechanism on this page to **Portfolios** or **Applications** lets you manage the portfolios or applications of your SonarQube instance. The dropdown menu to the right of each item lets you edit permissions, apply permission templates, or restore access to a portfolio or application.

## Populating applications <a href="#populating-applications" id="populating-applications"></a>

Once your application exists, you can populate it with manually-selected projects. By default, the configuration interface shows the list of projects currently selected for the application. To add additional projects, choose the **Unselected** or **All** filter.

## Creating Application Branches <a href="#creating-application-branches" id="creating-application-branches"></a>

Once your application is populated with projects, you can create application branches by choosing branches from the application’s component projects. This option is available in the application’s **Application Settings > Edit Definition** interface or from the global administration interface.

## Calculation <a href="#calculation" id="calculation"></a>

By default, applications are queued to be recalculated after each analysis of an included project. For each relevant application, a **Background Task** is created, and you can follow the progress on each in the **Administration > Projects > Background Tasks** by looking at the logs available for each item.

## Reindexing <a href="#reindexing" id="reindexing"></a>

During Elasticsearch reindexing due to disaster recovery or upgrading, applications become available as they are indexed.


---

# 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.sonarsource.com/sonarqube-server/8.9/project-administration/managing-applications.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.
