Custom html in the top bar

i have created a custom html to view my dashboard system but i wants it to appear in the top bar , so how i can put the html file in my erpnext to be opened as one of its pages ?

Put the custom html in your public folder and then add it to your hooks.py to include it.

here is my html code

iframe(
src=iframeUrl
frameborder=“0”
width=“800”
height=“600”
allowtransparency
)

and here is my py code

You’ll need to install PyJWT via pip ‘pip install PyJWT’ or your project packages file

import jwt

METABASE_SITE_URL = “http://example.com
METABASE_SECRET_KEY = “”

payload = {
“resource”: {“dashboard”: 1},
“params”: {

}
}
token = jwt.encode(payload, METABASE_SECRET_KEY, algorithm="")

iframeUrl = METABASE_SITE_URL + “/embed/dashboard/” + token + “#bordered=true&titled=true”