From the template builder, navigate to the dropdown field that says Start typing to select profiles. From here, type the profile you want to assign the template to. The profile options will appear in the dropdown list. Once you have found the desired profile, click on the profile to assign the template. You can assign several profiles for a template.