Hi,

You need to create a JS view that will display your .tpl file

Ref : https://docs.espocrm.com/development/custom-views/...