What was the vetting process for Mandelson’s appointment as US ambassador?

The PM has accused Lord Mandelson of lying throughout the process – but what did it involve?