
// tag::cloud[]
include::{docs-root}/shared/cloud/ess-getting-started.asciidoc[tag=generic]
// end::cloud[]

// tag::self-managed[]
**Install and run {es}**

ifeval::["{release-state}"=="unreleased"]
NOTE: No Docker image is currently available for {es} {version}.
endif::[]

ifeval::["{release-state}"!="unreleased"]

. Install and start https://www.docker.com/products/docker-desktop[Docker
Desktop].

. Run:
+
[source,sh,subs="attributes"]
----
docker network create elastic
docker pull {docker-repo}:{version}
docker run --name es01-test --net elastic -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" {docker-image}
----
endif::[]

**Install and run {kib}**

To analyze, visualize, and manage {es} data using an intuitive UI, install
{kib}.

ifeval::["{release-state}"=="unreleased"]
NOTE: No Docker image is currently available for {kib} {version}.
endif::[]
ifeval::["{release-state}"!="unreleased"]

. In a new terminal session, run:
+
["source","txt",subs="attributes"]
----
docker pull docker.elastic.co/kibana/kibana:{version}
docker run --name kib01-test --net elastic -p 5601:5601 -e "ELASTICSEARCH_HOSTS=http://es01-test:9200" docker.elastic.co/kibana/kibana:{version}
----

. To access {kib}, go to http://localhost:5601[http://localhost:5601]

endif::[]
// end::self-managed[]
