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

# How to set up Auto-Explain

> How to add the Auto-Explain Spring Boot starter to an Atoti Java project, including the `pom.xml` dependency for Atoti Intelligence Essentials and steps to verify the context menu option in the Atoti UI pivot table.

<Info>
  ### Atoti Intelligence Essentials

  This is part of the Atoti Intelligence Essentials offer.
</Info>

This guide explains how to add Auto-Explain to an Atoti Java project.

## Prerequisites

Before setting up Auto-Explain, ensure the following requirements are met:

* Java project
* License with AI flag enabled
* Maven or Gradle build system

## Add the dependency

Add the Auto-Explain Spring Boot starter to the project.

Add the following to `pom.xml`:

```xml theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
<dependency>
  <groupId>com.activeviam.springboot</groupId>
  <artifactId>starter-ai-autoexplain</artifactId>
  <version>${atoti-server.version}</version>
</dependency>
```

## Verify the setup

After adding the dependency, verify that Auto-Explain is available:

1. Build the project
2. Start the Atoti application
3. Open the Atoti UI
4. Right-click two cells in a pivot table
5. Check that the Auto-Explain option appears in the context menu

## Related reading

After setting up Auto-Explain, proceed to:

* [Configure Auto-Explain](./configuration) to customize analysis behavior
* [Learn how to use Auto-Explain](../../../../user-guide/auto-explain) in the Atoti UI
