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

# Installation

> Install the Legnext Java SDK

## Requirements

* **Java**: Version 1.8 or higher
* **Build Tool**: Maven 3.8.3+ or Gradle 7.2+

## Maven Installation

Add this dependency to your project's `pom.xml`:

```xml theme={null}
<dependency>
  <groupId>com.legnext</groupId>
  <artifactId>legnext-sdk</artifactId>
  <version>1.0.0</version>
</dependency>
```

## Gradle Installation

Add this dependency to your `build.gradle`:

```groovy theme={null}
dependencies {
    implementation 'com.legnext:legnext-sdk:1.0.0'
}
```

## Build from Source

```bash theme={null}
git clone https://github.com/legnext-ai/legnext-java-sdk.git
cd legnext-java-sdk
mvn clean install
```

## Verify Installation

```bash theme={null}
mvn dependency:tree | grep legnext
```
