How do I set categories while configuring a template ?

In the Create Comparison Template page, Enter Basic Details tab, select the Use categories check box. Then, select the categories that you want to include for a feature.