You can use Box Java SDK to call Box APIs in a Java
project.
To install Java SDK, add a Gradle dependency or Maven dependency, or
clone the source into a project. Additionally, you can download one of the precompiled JARs from the releases page on GitHub.
Learn more about Java SDK on GitHub
Gradle
Add the following dependency to the build.gradle file.
Maven
Add the following Maven dependency.
Installation from source
Download the SDK source from the Java SDK GitHub repository and
add it to a project.
Precompiled JAR
Download one of the precompiled JARs for the Java SDK from the GitHub releases
page.
When using one of the precompiled JARs, it is important to also add the
following additional dependencies to the project.
Last modified on September 4, 2026