How to connect atmega32u4 to USB
Section 21, "USB controller", subsection 21.3, "Typical Application Implementation", of the datasheet shows methods of connecting the device along with associated components to USB in various bus- or self-powered configurations.