How to use doctypes like Lead,Opportunity,etc.. into my custom app from erpnext app

I created a custom app and installed it in a new site. This is now the site looks like.

Im already installed ERPNext in another site, can anyone tell me how can i use doctypes from erpnext to my custom app and also i will customize its .js and .py files.

@Sumith-2004 Please install erpnext into your new-site then access and if you want showcase only specific doctypes in your new-site then use role&permission and module permission in user doctypes

1 Like

Can you tell me how to link doctypes from erpnext to custom app by using hooks.py or any other ways.