Cut your crown molding to fit, allowing for mitered corners if necessary. Fit molding along top of cabinet (make sure doors clear), use level and attach with finish nails.
You can use a substance called "Tough as Nails" that is found in the same department as caulk. Just put it in a caulking gun and apply it to the back of the crown molding.