It is incredibly easy.
Make sure that your title is on the very first line of the manuscript and that you have used proper capitalization. For example Janet and John, not Janet And John.
Assign a Heading 1 style to the name of your book and to the first line of your copyright notice. If you want a Table of Contents assign either a Heading 1 or Heading 2 style to each of the chapter headings. Do not try to include a manual table of contents as the TOC is built from the heading styles.
Formatting for epub