use "pointOnPlane" constraint.
1) select the upper circle of the pin. It's center is used as point.
2) select the guiding plane surface
3) hit the pointOnPlane-button
4) set an offset, so that the pin is in the middle of the slot.
After doing this, the assembly shows as here: