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

# Java

> Call the Dojah REST API from a JVM backend with the Dojah Java client — Java 8 and above, via Maven or Gradle.

Call the Dojah REST API from a JVM backend with the Dojah Java client (Java 8+, Maven or Gradle).

<Warning>
  This is a **server-side** client using your **secret** key (passed as `Authorization`) — never ship it in client code. For verification UI in an app, use a [Widget SDK](/api-reference/widget-sdks/choosing-an-sdk).
</Warning>

## Install

```xml pom.xml theme={null}
<dependency>
  <groupId>com.konfigthis.dojah</groupId>
  <artifactId>dojah-java-sdk</artifactId>
  <version>4.1.0</version>
</dependency>
```

## Make a request

```java Verify.java theme={null}
Configuration config = new Configuration();
config.Authorization = System.getenv("DOJAH_SECRET_KEY");
config.AppId = System.getenv("DOJAH_APP_ID");

Dojah dojah = new Dojah(config);

var result = dojah.aml.getScreeningInfo()
    .profileId("WC7117469")
    .execute();
```

Every endpoint in the [API reference](/api-reference/get-started/introduction) is exposed on the client, grouped by API.
