How do cabinet members get their job?

The President nominates them, and the Senate confirms the nominations.