2014-05-01 18:19:13 +00:00
---
layout: "intro"
page_title: "Web UI"
sidebar_current: "gettingstarted-ui"
2014-10-19 23:40:10 +00:00
description: |-
2015-03-19 23:22:05 +00:00
Consul comes with support for beautiful, functional web UIs out of the box. UIs can be used for viewing all services and nodes, for viewing all health checks and their current status, and for reading and setting key/value data. The UIs automatically supports multi-datacenter.
2014-05-01 18:19:13 +00:00
---
# Consul Web UI
2015-03-19 23:22:05 +00:00
Consul comes with support for beautiful, functional web UIs out of the
box. UIs can be used for viewing all services and nodes, for viewing
all health checks and their current status, and for reading and setting
key/value data. The UIs automatically support multi-datacenter.
2014-05-01 18:19:13 +00:00
2015-03-19 23:27:30 +00:00
There are two options for running a web UI for Consul: using
[Atlas by HashiCorp ](https://atlas.hashicorp.com ) to host the
dashboard for you or self-hosting the
[open-source UI ](/downloads.html ).
2014-05-01 18:19:13 +00:00
2015-03-05 00:12:14 +00:00
## Atlas-hosted Dashboard
2015-03-19 23:22:05 +00:00
< div class = "center" >
![Atlas Web UI ](atlas_web_ui.png )
< / div >
To set up the Atlas UI for Consul, you must add two fields to your
configuration: the
[name of your Atlas infrastructure ](/docs/agent/options.html#_atlas )
and [your Atlas token ](/docs/agent/options.html#_atlas_token ). Below is
an example command-line invocation of the Consul agent providing these
settings:
2014-05-01 18:19:13 +00:00
2015-03-05 00:12:14 +00:00
```text
$ consul agent -atlas=ATLAS_USERNAME/demo -atlas-token="ATLAS_TOKEN"
```
2015-03-19 23:22:05 +00:00
To get an Atlas username and token,
[create an account ](https://atlas.hashicorp.com/account/new?utm_source=oss&utm_medium=getting-started-ui&utm_campaign=consul )
and replace the respective values in your Consul configuration with
your credentials.
2014-05-01 18:19:13 +00:00
2015-03-19 23:22:05 +00:00
## Self-hosted Dashboard
2014-05-01 18:19:13 +00:00
< div class = "center" >
2015-03-19 23:22:05 +00:00
![Consul Web UI ](consul_web_ui.png )
2014-05-01 18:19:13 +00:00
< / div >
2015-12-25 04:14:40 +00:00
To set up the self-hosted UI, start the Consul agent with the
[`-ui` parameter ](/docs/agent/options.html#_ui ):
2014-05-01 18:19:13 +00:00
2014-10-19 23:40:10 +00:00
```text
2015-12-25 04:14:40 +00:00
$ consul agent -ui
2014-05-01 18:19:13 +00:00
...
```
The UI is available at the `/ui` path on the same port as the HTTP API.
By default this is `http://localhost:8500/ui` .
2015-03-05 00:12:14 +00:00
You can view a live demo of the Consul Web UI
[here ](http://demo.consul.io ).
2015-03-19 23:22:05 +00:00
## Next Steps
2015-03-05 00:12:14 +00:00
2015-03-19 23:22:05 +00:00
This concludes our Getting Started guide. See the
[next steps ](next-steps.html ) page to learn more about how to continue
your journey with Consul!