The table of contents is a normal Word table of contents field, just like the ones you insert in your normal Word documents. You insert it where you want it to appear in relation to the topics from your project. This will usually be directly before them.
You generate and format the table of contents field in Word with the usual table of contents tools. The numbering, dot leaders, styles etc. are all defined in Word. The DOCX templates included with Help+Manual already have TOC fields defined. You can reformat or replace these as you like.
Refer to the Word documentation for full details on inserting and formatting the Table of Contents field.