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

# Install

> Add the Java XDK to a Maven or Gradle project.

Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/com.x/xdk). Requires JDK 17+.

```xml Maven (pom.xml) theme={null}
<dependency>
  <groupId>com.x</groupId>
  <artifactId>xdk</artifactId>
  <version>0.1.2</version>
</dependency>
```

```kotlin Gradle (build.gradle.kts) theme={null}
dependencies {
    implementation("com.x:xdk:0.1.2")
}
```

```groovy Gradle (build.gradle) theme={null}
dependencies {
    implementation 'com.x:xdk:0.1.2'
}
```

## Build from source

```bash theme={null}
git clone https://github.com/xdevplatform/xdk-java.git
cd xdk-java
mvn test
```

## Next steps

* [Quickstart](https://docs.x.com/xdks/java/quickstart.md)
* [Authentication](https://docs.x.com/xdks/java/authentication.md)
* [API Reference](https://docs.x.com/xdks/java/reference/overview.md)
