How to integrate Flask within ERPNEXT

I want to show one html content in a new path in same application. So that I can give that path in the iframe to ERPNEXT page js. I have added some controls in the result of html content from python. So how to integrate flask with ERPNEXT.