You need to create the template through either the templates page as mentioned by Arun, or within CRXDE.Once the template is created, you can import the code from AEM using this method: How to sync content, components and templates...etc files from CRXDE to Eclipse IDE Projects and vice versaI was a...