> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreflux.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Using Coreflux HUB

> Access the Coreflux HUB in your browser and manage your broker — MQTT topics, LoT code, routes, and system settings in one place.

<Frame caption="Coreflux HUB overview — start here">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/hub-overview-start.png?fit=max&auto=format&n=W9CJ-kgVY3a3sCeL&q=85&s=03fbe6e0a1dff699bc4f034f7701cd7d" alt="Coreflux HUB overview screen with a 'Start here' arrow pointing to the first navigation icon in the bottom toolbar" width="1024" height="639" data-path="images/hub-overview-start.png" />
</Frame>

## Manage Your Broker from the Browser

You have a Coreflux broker running. Now you want to explore MQTT topics, deploy LoT code, configure routes, and manage users — all without installing desktop tools or memorizing command-line syntax. The Coreflux HUB gives you a browser-based interface that puts every management task in one place.

<Tip>
  **Like the dashboard of your car.** You don't pop the hood to check the speed or fuel level — you glance at the dashboard. The HUB does the same for your broker: real-time data, configuration, and diagnostics, all visible at a glance.
</Tip>

### When to Use This

* You want to **manage your broker visually** without installing MQTT Explorer or VS Code
* You need to **deploy and test LoT code quickly** from any machine with a browser
* You're **configuring routes** to databases or PLCs and want a guided, visual workflow
* You want to **monitor connected clients and system health** in real time

***

<Tip>
  **Haven't installed Coreflux yet?** Follow the [Installation guide](/quick-start/installation) first — make sure to expose ports `8080` and `8443` so the HUB is reachable.
</Tip>

## Access the HUB

Open your browser and navigate to:

| Environment | URL                       |
| ----------- | ------------------------- |
| **Local**   | `http://localhost:8080`   |
| **Remote**  | `http://<broker-ip>:8080` |
| **HTTPS**   | `https://localhost:8443`  |

Log in with the default credentials:

| Setting  | Value      |
| -------- | ---------- |
| Username | `root`     |
| Password | `coreflux` |

<Warning>
  Change the default password before deploying to production. Go to **System → User Management** to update credentials.
</Warning>

***

## What Can You Do with Coreflux HUB?

Once you're logged in, the HUB gives you four dedicated apps that together cover every broker management task — from inspecting live data to deploying logic and connecting external systems.

<CardGroup cols={2}>
  <Card title="MQTT" icon="broadcast-tower" href="/coreflux-hub/mqtt/overview">
    Browse live topics, inspect payloads, publish test messages, and see which clients are connected.
  </Card>

  <Card title="LoT Editor" icon="code" href="/coreflux-hub/lot">
    Create, edit, and deploy Actions, Models, and Rules directly in the browser — no external tools needed.
  </Card>

  <Card title="Routes" icon="route" href="/coreflux-hub/routes/overview">
    Connect your broker to databases, PLCs, and external systems using templates or LoT code, then monitor each connection in real time.
  </Card>

  <Card title="System" icon="server" href="/coreflux-hub/system/overview">
    Configure the broker, manage users and permissions, run commands, and stream real-time logs for diagnostics.
  </Card>
</CardGroup>

The table below maps common tasks to the app that handles them so you always know where to go.

| Task                                                                 | HUB App          |
| -------------------------------------------------------------------- | ---------------- |
| Browse topics and inspect message payloads                           | **MQTT**         |
| Publish a test message to any topic                                  | **MQTT**         |
| See which devices are connected                                      | **MQTT**         |
| Write or update an Action, Model, or Rule                            | **LoT Editor**   |
| Deploy LoT code to the broker instantly                              | **LoT Editor**   |
| Add a route to a database or PLC                                     | **Routes**       |
| Monitor route connection health and logs                             | **Routes**       |
| Change broker network or TLS settings                                | **System**       |
| Create users and assign permissions                                  | **System**       |
| View real-time broker logs and run commands                          | **System**       |
| Ask for insights, build dashboards, or draft LoT from plain language | **AI Assistant** |

The sections below walk you through each of these tasks hands-on.

***

## See Your MQTT Data

Open the **MQTT** app to browse every topic flowing through your broker in real time. The topic tree on the left lets you drill into any hierarchy, and selecting a topic shows its latest payload, QoS, and timestamp on the right.

<Frame caption="Data Viewer — browse live topics and inspect message payloads">
  <img src="https://mintcdn.com/coreflux/NyitfZKdXrngxrt5/images/view-mqtt-data.gif?s=4d1716fe92adc3e8241a56557b7f1292" alt="Coreflux HUB Data Viewer showing the topic tree and a selected message payload" width="800" height="500" data-path="images/view-mqtt-data.gif" />
</Frame>

Use this when you need to verify that a device is publishing, check payload formats, or publish a test message — all without leaving the browser. For a full walkthrough, see [Data Viewer](/coreflux-hub/mqtt/data-viewer).

***

## Connect to an External Device with a Route

Open the **Routes** app to connect your broker to databases, PLCs, or other external systems. Pick a template, fill in the connection details, map MQTT topics to fields, and activate — the HUB handles the rest.

<Frame caption="Routes — create a new route from a template and configure its connection">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/route-creation.gif?s=5e431455d5e33fe56327191a5e96d182" alt="Coreflux HUB Routes app showing route creation with a template and configuration fields" width="800" height="500" data-path="images/route-creation.gif" />
</Frame>

Each route card shows a live status indicator so you can tell at a glance whether the connection is healthy. For configuration details, see [Routes](/coreflux-hub/routes/overview).

***

## Quickly Change the LoT Running on the Broker

Open the **LoT Editor** to create, edit, or redeploy Actions, Models, and Rules directly in the browser. Changes take effect immediately — no build step, no file transfer, no restart.

<Frame caption="LoT Editor — edit an Action and deploy it to the broker in one click">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/deploy-action.gif?s=78ab51e9ef65865894aa55822bd0a0b1" alt="Coreflux HUB LoT Editor showing an Action being edited and deployed" width="800" height="500" data-path="images/deploy-action.gif" />
</Frame>

This is the fastest way to iterate on broker logic when you don't have VS Code open. For the full editor reference, see [LoT Editor](/coreflux-hub/lot).

***

## Build With the AI Assistant

Open the **AI Assistant** from the Coreflux icon in the bottom dock and describe what you want in plain language — ask for insights from live data, build a dashboard with live widgets, or develop a LoT Action. The assistant uses the broker's own tools to draft, refine, and deploy the change in the same panel.

<Frame caption="AI Assistant — describe a goal in plain language and the assistant drafts and deploys it on your broker">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/hub-ai-demo.gif?s=051a22a08821a9b15034ac98d6abcfae" alt="Coreflux HUB AI Assistant being opened from the dock, receiving a prompt, and deploying the change" width="1152" height="720" data-path="images/hub-ai-demo.gif" />
</Frame>

Use **Insight** mode for read-only exploration or switch to **Agent** mode when you want the assistant to create or update Routes, Actions, and panels. For setup, modes, and built-in safeguards, see [AI Assistant](/coreflux-hub/ai-assistant).

***

## Debug Your LoT and Broker

Open the **System** app when something isn't behaving as expected. **Broker Logs** stream trace-level output in real time, and the **Command Console** lets you run broker commands directly — restart actions, inspect state, or change configuration on the fly.

<Frame caption="System — real-time broker logs and the command console for direct broker interaction">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/broker-debug.gif?s=ebdd5f943b8259e63c9f036ca5dfd85b" alt="Coreflux HUB System app showing broker logs and the command console" width="800" height="500" data-path="images/broker-debug.gif" />
</Frame>

Combine logs with the Data Viewer to trace a message from publish to action execution. For all system tools, see [System](/coreflux-hub/system/overview).

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Explore the HUB" icon="compass" href="/coreflux-hub/overview">
    Deep-dive into each app — Data Viewer, LoT Editor, Routes, and System tools.
  </Card>

  <Card title="Create Your First Action" icon="rocket" href="/quick-start/getting-started">
    Build and deploy a working LoT Action in under 15 minutes.
  </Card>
</CardGroup>
