With a floating floor you install after and cabinets should be raised by adding plywood underneath them before the cabinets are installed.
Install floor before cabinets.
When to install flooring before cabinets if due to design circumstances for example an odd appliance height or construction anomaly your total flooring height will need to be elevated and finished higher than normal two inches or more consider installing flooring before putting in the kitchen cabinets and appliances.
You also don t run the risk of scratching or damaging your flooring during the cabinet installation process.
This assumes that the floating floor has a significant height.
When professionals install floors then cabinets it s easier to get everything to standard heights.
It s also a safer installation process for your cabinets since you won t risk any damage to them as professionals install the floors.