All steps of the Database Integration Wizard contain a Notes button, which allows you to document your template.
When you use the Database Integration Wizard to create a new template, the wizard automatically creates a note with information on how NVar and SVar variables are used and how the template has been designed.