[[java-admin-cluster]]
=== Cluster Administration

To access cluster Java API, you need to call `cluster()` method from an <<java-admin,`AdminClient`>>:

[source,java]
--------------------------------------------------
ClusterAdminClient clusterAdminClient = client.admin().cluster();
--------------------------------------------------

[NOTE]
In the rest of this guide, we will use `client.admin().cluster()`.

include::health.asciidoc[]

include::stored-scripts.asciidoc[]
