You need to create a new document for front matter (title page, copyright page, table of contents, introduction, half title — whatever you want to include) and place it at the beginning of the book. You will have to set up the numbering of the book as well if you want the front matter to use a sequence of roman numerals and let the body of the publication begin at 1 in the sequence of arabic numerals. (There are some refinements to this practice but let’s leave that for the moment.)
Then you have to define a table of contents (Layout > Table of Contents …) by listing the paragraph styles that should be included in the TofC and assigning a paragraph style to be applied to the entries after they have been added to the TofC. Be sure to choose Options > Include Book Documents. When you are satisfied with the TofC generated, save the TofC style so you can reuse it.
This should get you started.