Setting up Analysis can be done on Applications & their available integrations. Refer to this page to know how to add / edit applications and how to add / edit services. Refer to this page to know how to add an Integration.
The template is a blueprint of all the information needed to run the analysis. It contains information about applications/services, data sources, etc. There are two types of templates available:
Specific template types can be used for your analysis. If you have both logs and metrics data for your application, you can create both template types and use them for your analysis. Otherwise, create either of the template based on the type of data and analysis you are targeting.