To insert a table of contents, click the

"References" tab on the toolbar at the top of the document. Then, click on "Table of Contents" and select a style from the dropdown menu. The table of contents will automatically be inserted into your document with links to each section.