# Rancher Navigation Links for Trilio Management Console

Users can create a Navigation Link on the Rancher Management Console to redirect a URL of any application deployed on the Kubernetes cluster.

The are two way to place the NavLink on the Rancher UI.\
1\. Create a standalone T4K UI NavLink on the left panel\
2\. Create a NavLink under a group and the Group will be placed on the left panel

Here are the instructions to create a Navigation Link (NavLink):

#### 1. Create a standalone T4K UI NavLink on the left panel:

![Click on Search icon on top-right corner on Rancher Server Console](/files/lHrxHqbQGPZZQtouWFo3)

![Search the NavLinks to create a CR](/files/WVqKILZJzsdpyDc8eQzc)

```
apiVersion: ui.cattle.io/v1
kind: NavLink
metadata:
  name: triliovault-for-kubernetes-management-console
spec:
  description: T4K Management Console
  iconSrc: null
  label: T4K Management Console
  toURL: http://k3s-rke2-tvk.demo.trilio.io:31616/
```

In above yaml snippet:

* `metadata.name` : Name of the NavLink
* `spec.description` : Description of the NavLink
* `spec.iconSrc` : Image or icon of the branding logo of the application or the company
* `spec.label` : The label of the URL to be visible on the Rancher UI
* `spec.toURL`: Complete URL of the application to be redirected to. The host name is `k8s-triliovault-minion` ingress hosts URL. The port is the `NodePort` of the `k8s-triliovault-ingress-gateway` service.

In above yaml, user can also provide `service` object information instead of `toURL`. For the details check the [Rancher documentation](https://rancher.com/docs/rancher/v2.6/en/admin-settings/branding/#adding-a-custom-navigation-link)\
Copy the above yaml and create the new NavLink.

![NavLink created using yaml](/files/IddFfMVQPx8UKQCuIhXl)

![Navlink for T4K UI is present in left pane](/files/dnSsPqTGZBszqLP53qIh)

#### 2. Create a T4K UI NavLink under a group

Users can place the T4K UI URL under a group and then access it from the group dashboard:

```
apiVersion: ui.cattle.io/v1
kind: NavLink
metadata:
  annotations:
    key: triliovault-for-kubernetes-management-console
  labels:
    key: tvk-management-console
  name: tvk-mgmt-console-image
spec:
  description: T4K Backup & Restore Management Console
  group: Monitoring DashBoards
  iconSrc: <Copy the base64 encoded image and paste here>
  label: T4K Management Console
  toURL: http://k3s-rke2-tvk.demo.trilio.io:31616/
```

![Navlink create using group of Monitoring Dashboard](/files/VOnHdjyKFqFns3AbCtvK)

![NavLink visible under a group](/files/fQPT9b6C2GyVtytyJYDh)

Once the user clicks on the NavLink, it will be redirected to the T4K UI.

<figure><img src="/files/-Mk433WpYW03qIv3Ddws" alt=""><figcaption><p>T4K UI is Accessible</p></figcaption></figure>

For more information you can follow the documentation from Rancher as well.


---

# 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.trilio.io/kubernetes/5.0.x/ecosystem/rancher-navigation-links-for-triliovault-management-console.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.
