# Web UI

Class4 Fusion uses NGIX as the web server.  You can have multiple web servers to load balance web UI access.&#x20;

Here is how you install the web component in each one of your web servers:

```
yum install dnlv6-webbackend.noarch dnlv6-webui.x86_64

```

The Web component consists of Vue.js Web Ui and Python API server.&#x20;

After web server is installed, you can configure the API server to connect to the database by going to the following directory:

{% hint style="info" %}
cd /opt/denovo\_v6/api\_dnl
{% endhint %}

Then, you need to edit this fiel: **api.ini**

You then change the followign line to  specify what IP or hostname to bind your API server:

{% hint style="info" %}
**api\_host = localhost**
{% endhint %}

You can specify to use HTTP or HTTPS with the following parameter:

{% hint style="info" %}
**api\_schema = http\://**
{% endhint %}

You can specify the DB access with the following parameter:

{% hint style="info" %}
**db\_conn\_string = postgresql://webbackend\@127.0.0.1:5432/class4\_dnl**
{% endhint %}


---

# 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://cookbook.denovolab.com/installation/distributed-architecture/web-ui.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.
