After creating your template and using the preview button to ensure the document is upto expectations, the app allows you to select a field where your attachments will be stored.
Click Generate Document and you'll notice your attachment appear in the field selected.