diff --git a/documentation/project/contributing/building.md b/documentation/project/contributing/building.md
index 21562426e5..7b530829b9 100644
--- a/documentation/project/contributing/building.md
+++ b/documentation/project/contributing/building.md
@@ -19,6 +19,13 @@ docker-compose -f ./documentation/compose/kafka-clusters-only.yaml up -d
Then, start the app.
+### Building only the API
+
+To build only the kafka-ui-api you can use this command:
+```sh
+./mvnw -f kafka-ui-api/pom.xml clean install -Pprod -DskipUIBuild=true
+```
+
## Where to go next
In the next section, you'll [learn how to run the application](running.md).
\ No newline at end of file
diff --git a/kafka-ui-api/pom.xml b/kafka-ui-api/pom.xml
index 53eb24731d..5c00dc0f6d 100644
--- a/kafka-ui-api/pom.xml
+++ b/kafka-ui-api/pom.xml
@@ -404,6 +404,7 @@
frontend-maven-plugin
${frontend-maven-plugin.version}
+ ${skipUIBuild}
../kafka-ui-react-app
${project.version}