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

# Install and run the starter project

> How to install the Atoti Limits starter project with Maven, run it from the command line or an IDE, download the dependencies manually when Maven cannot reach the repositories, and which users can log in to the starter project.

## How to install the starter project

The starter project is a reference Spring Boot application that demonstrates how to use Atoti Limits. It contains
the default configurations and workflows. It can be configured, customized, or extended for your specific use cases
using Spring.

To install the starter project:

1. Download the **Source files** from the zipped distribution files of your release, linked from each release in the [changelog](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/releases/changelog.md).
   They contain the starter project and the parent pom file. For access to the ActiveViam Artifactory, see [Download artifacts](https://docs.activeviam.com/download-artifacts.md).
2. Extract the source code folder into your workspace.
3. Open the project in your IDE.
4. Run `mvn clean install`.

This will compile the source code, run tests, and package the application. You may exclude test execution by running
`mvn clean install -DskipTests`.

> [!WARNING]
>
> If your company's policy prevents Maven from downloading the dependencies, download the artifacts manually:
>
> * Atoti Server: from [the ActiveViam share page](https://artifacts.activeviam.com/share/ActivePivot_stable/), as described in the [Atoti Server download guide](https://docs.activeviam.com/products/atoti/server/latest/docs/start/download/).
> * Atoti Limits: the **Maven repository** in the zipped distribution files of your release, linked from each release in the [changelog](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/releases/changelog.md).
>
> Install the jars in your local Maven repository, then run the build again.

## How to run the starter project

Start the application with:

* Windows:

```shell theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
    java
    --add-opens=java.base/java.util=ALL-UNNAMED
    --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
    -Dlimits.initial-load.root-dir=<path\to\data-samples>
    -jar <path to>/limits-starter-<version>-exec.jar
```

* MacOS/Linux:

```shell theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
   java
   --add-opens=java.base/java.util=ALL-UNNAMED
   --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
   -Dlimits.initial-load.root-dir=<path\to\data-samples>
   -Dactiveviam.chunkAllocatorKey=mmap
   -jar <path to>/limits-starter-<version>-exec.jar
```

By default, the application starts on `http://localhost:3090`.

Alternatively, if using your IDE, run the `com.activeviam.limits.starter.Limits` class.

### How to activate the Atoti Limits UI

For details on activating the UI features, see [UI Activation](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/dev/install/connect/atoti-ui/ui-activation.md).

## Which users can log in to the starter project?

The starter project defines the following users. The password of each user is the same as its user name.

| User | Use it to |
| - | - |
| `admin` | Access everything, including the REST endpoints. |
| `user1`, `user2` | Create and manage limit structures and limits. |
| `manager1`, `manager2` | Evaluate limit structures, approve or reject limits, and process incidents. |
| `restrictedUser` | View limits only, for example to test [data access permissions](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/dev/configure/roles/data-access-permissions.md). |

For what each role allows, see [Limits roles](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/dev/configure/roles/limits-roles.md).

> [!WARNING]
>
> These users are for testing only. Before going to production, replace these users with the project's own security configuration. See [How to customize security](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/dev/install/customize-starter.md#how-to-customize-security).
