How to use a template in the web app