> ## Using the SDK

> Learn how to use the Antithesis Java SDK in your code.

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

---

To use the Antithesis Java SDK:

1. Include the Antithesis SDK jar file as a dependency within your build system.

2. Import the SDK classes into your Java program.

   E.g. `import static com.antithesis.sdk.Assert.*;`

3. Call SDK methods from your code. For example, use an assertion such as:

   `always(some condition)`.

   > **Note**
   >
   > [Assertion cataloging](/docs/reference/sdk/java/how_to_build_with_sdk/#enable-assertion-cataloging) is required to use the SDK assertions.

4. Build your Java project.

   You'll need to adjust your build to run with the Java SDK. Follow the build steps [here](/docs/reference/sdk/java/how_to_build_with_sdk/).

5. Deploy your build: either to Antithesis or into production.
