add template to credentials