# Initial startup and licensing

After deploying the Brain VM into your VMware environment, it will need to be licensed during its initial boot process.

{% hint style="info" %}
**Please Note:**

* The CLI of a virtual Brain cannot be logged in to until the Brain has completed provisioning which includes licensing.

* For QUX deployments, the locally served Quadrant UX Vectra UI is also unavailable until after the system is licensed and provisioning has completed.
  {% endhint %}

* Power on your Brain VM.

* Once the UI is available (this will be a few minutes after power on), use your browser to connect to your Brain VM (using the IP assigned statically, via DHCP, or via hostname if your Brain is in your DNS). If watching your console and you hit `ESC` when you see the Ubuntu boot screen you will see system messages.

{% hint style="info" %}
**Please Note:**

Occasionally you may need to switch to a different console to get the OS Kernel console shown. When this happens, you can use *ALT + Arrow keys* to change the console to one that allows you see the boot messages. Some deployments may not pass the *Alt + Arrow keys* to change console. Switching to a different browser such as Firefox has worked correctly for many customers. Please see [Device Console does not show an interactive terminal during boot-up](https://support.vectra.ai/vectra/article/KB-VS-1683) for more details.
{% endhint %}

* This particular message below means that soon the UI will be available for license configuration:&#x20;

<figure><img src="https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-7ce0233c6199209a0497d56558dedad25250c4e3%2Fvmware-brain-deployment-guide-6.png?alt=media" alt=""><figcaption></figcaption></figure>

* Navigate to `http://<your_brain_IP_or_hostname>` and you’ll see a screen like this:

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-321be5c558dbbb0e398f884d7a984de6d744d56a%2Fvmware-brain-deployment-guide-7.png?alt=media)

* At this point the initial boot process is paused until a valid license is entered. This process will not time out.
* If a proxy is required to communicate with Vectra for provisioning from your network, please enter the **Proxy Configuration** screen and enter your proxy information:
  * If this is not done now, it can be done after a license is saved but the provisioning process will time out and some time will be wasted until a proxy is configured.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-b9c243b425dc1d0addd29bbdeee97d8e286e2f3c%2Fvmware-brain-deployment-guide-8.png?alt=media)

{% hint style="info" %}
**Please Note:**

This proxy configuration screen is only used to communicate with Vectra’s provisioning server and must utilize an HTTPS proxy.

* HTTP only proxies are not supported for this use.
* Other proxy configuration in the main Vectra UI at *Configuration → COVERAGE → Data Sources → Network → Brain Setup → Proxy & Status* after deployment does accept HTTP proxies and is used by non-provisioning related items.
  {% endhint %}

{% hint style="info" %}
**Please Note:**

If you are doing a Respond UX deployment and require a proxy for non-provisioning related services and integrations (this includes linking to Vectra’s cloud for use with the Respond UX):

* You should configure that proxy at the CLI of your Brain, **AFTER** you progress through this initial configuration and get to the **Success!** message at the end of this section.

* Please see the [Respond UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/respond-ux-deployment-guide) in the [*Deployment > Proxy Support*](https://docs.vectra.ai/getting-started/respond-ux-deployment-guide/deployment#proxy-support) section for more detail.
  {% endhint %}

* Click into the **License Configuration** screen after saving a proxy configuration (if required):

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-54a0c70db650ecb1a12888ea7c81319c55f65334%2Fvmware-brain-deployment-guide-9.png?alt=media)

* Copy the **License Request** information by clicking the **Copy** button.
* In another browser tab or window, navigate to <https://support.vectra.ai/vectra/additional-resources> and then the **License** tab.
  * If you are not already authenticated, you will be redirected to authenticate to your Vectra support account.
  * If you do not have a Vectra support account, you can self-register at the login screen, but licensing will not be available until your account is validated as being a Vectra customer or prospect involved in a trial.
* Paste the license information you copied into the **Enter Authorization Code** section of the page and click **Generate License Key**.
  * You should get a **Success** message at the top and a key in the **License Key** box.
  * Copy the license key using the **Copy License Key** button and go back to your Brain in your other tab or window.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-2f78a11556c7988cd6f2ec1ab6ae7bef35daa046%2Fvmware-brain-deployment-guide-10.png?alt=media)

* Paste the license key into the **License Information** box.

{% hint style="warning" %}
**DO NOT CLICK SAVE YET!**

You must first determine if your Brain will be **Online** or **Offline**.
{% endhint %}

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-706fc37c90989d3cfc6bfd405aed10eeb5970924%2Fvmware-brain-deployment-guide-11.png?alt=media)

{% hint style="warning" %}
**If your Brain will be Offline (Quadrant UX only):**

* You **MUST** click the **Offline** checkbox now before clicking **Save** or your deployment **will fail**.
  * You will need to redeploy a new Brain VM into your environment and start the process over.

**Please Also Note:**

* Offline Brains do not communicate to Vectra’s provisioning service.

* Offline Brains are typically used in "air gapped" environments where customers do not have internet access and the ability to communicate with Vectra directly.

* For additional information regarding offline Brains, see the following Vectra Support articles:
  * [Offline Updates (v8.9+)](https://docs.vectra.ai/operations/readme-1/offline-updates-v89)
  * [Vectra Respond UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/respond-ux-deployment-guide) or [Vectra Quadrant UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/quadrant-ux-deployment)
    {% endhint %}

* After determining if your Brain will be **Online** (normal for the vast majority of customers) or **Offline**, click **Save**.
  * You may need to refresh the resulting page that may still say there is no license in place.
  * After the page refresh, you should see screens like the below as provisioning completes.

* After the license is validated, the file system will be decrypted, a performance test will be run, the Brain will reboot, and the Brain will reach out to the Vectra provisioning service and complete provisioning.
  * Finally, a success message will be presented with a button to redirect to the main UI login screen.
  * Offline Brains follow a similar process but will not need to communicate with the provisioning server and can validate the license locally.
  * Status messages will be updated but you must manually refresh the browser to see new messages. Below are some examples:

|                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-8876bb304d033240a22c201ad7083b9af52d5502%2Fvmware-brain-deployment-guide-12.png?alt=media) | ![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-8c7e63db4098282059d03479094a1f70fc9e3c97%2Fvmware-brain-deployment-guide-13.png?alt=media) |
| ![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-645fae3611f967d1341d575e6b0e32c7e5be6594%2Fvmware-brain-deployment-guide-14.png?alt=media) | ![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-de84509d1e9b9178aa3ae2e91c3ef8648140d128%2Fvmware-brain-deployment-guide-15.png?alt=media) |

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-5362e6f31a3e32d119816d629d53b2e3968b70b2%2Fvmware-brain-deployment-guide-16.png?alt=media)

* Finally, a success message will be presented with a button to redirect to the main UI login screen.
  * For RUX deployments, please see the deployment process in the [Vectra Respond UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/respond-ux-deployment-guide).&#x20;

{% hint style="warning" %}
**Please Note:**

When doing a RUX deployment, you should **NOT** login and configure anything in the Quadrant UX (which would be available at this point) before Vectra connects your Brain to the Vectra cloud. Once the Brain is connected to the Vectra Cloud, the UI for your deployment (Respond UX) will be served from Vectra's cloud and the local UI (Quadrant UX) will no longer be available.
{% endhint %}

* For QUX deployments only:
  * Initial login credentials for the UI:
    * `admin` / `changethispassword`
  * Initial login credentials for the SSH access to the CLI:
    * `vectra` / `changethispassword`
  * You will be asked to change the password after the initial login.
