# Add Host

Adding a host is the first step to setting up your PMO cloud!

{% hint style="info" %}
**Tip**

We recommend adding at least **three** hosts to your PMO cloud for a **minimal** setup.
{% endhint %}

Before you add a host, please ensure the following.

* The host is configured with sufficient local storage or shared storage for virtual machines to run on the host.
* The host has at least one network interface (configured with either flat or VLAN networking) and outbound https access.
* The [auto$](https://github.com/platform9/pcd-docs-gitbook/blob/main/openstack/getting-started-prerequisites-linux-kvm/README.md) and/or [Networking Pre-Requisites](https://github.com/platform9/pcd-docs-gitbook/blob/main/openstack/getting-started-configure-networking-kvm/README.md) are met.

{% hint style="warning" %}
**Admin Privileges Required**

You must be an administrator to perform this operation.
{% endhint %}

To add a host, follow the steps given below.

1. Log in to Clarity.
2. Click Infrastructure in the left panel.
3. Click the Hosts tab.
4. Click Add Host seen on the top right corner.
5. Click Download Installer to download the host agent installer for the operating system version of the host that you are adding to Clarity.

<figure><img src="/files/5bg0wfCIHMyIHZY6LRxy" alt=""><figcaption></figcaption></figure>

6. Copy the installer to the host operating system or to a shared folder.
7. Install the host agent by running the command `sudo bash <path to installer>`.  Ensure that the host agent installation has succeeded – a message indicating installation success is displayed on your host command line or console.
8. Click the public GPG key link on the Add New Hosts page to download the public GPG key.
9. Verify the packages downloaded with the installer.

{% hint style="success" %}
**Success**

The host is added and is visible on the Dashboard.
{% endhint %}

Once the host has been added, you must [authorize the host](https://github.com/platform9/pcd-docs-gitbook/blob/main/openstack/infrastructure-authorize-host/README.md). After authorizing the host, you can configure it with [one or more roles](https://github.com/platform9/pcd-docs-gitbook/blob/main/openstack/infrastructure-host/README.md#roles) and tweak the hypervisor configuration to setup networking interfaces, etc.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform9.com/managed-openstack/5.8/infrastructure/host-management/infrastructure-add-host.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
