Take your time and measure carefully. Crown molding can be tricky if you move too fast.
Cuts are made while crown molding is upside down. Test the fit around each corner first before installing.
Measure along cabinet sides and around walls to get the length of each piece.
Caulking can be used to fill in the nail divots and fill in the joints of the molding.