Detergent Cup Latch

I am ordering a new “Detergent Cup Latch”, Bosch Part Number: AP2802332,
for a Bosch dishwasher SHV4803uc/u12, which is about 10 years old.
I would like to know how to get the old part out, and install the new part.
Tnx