Not able to integrate a contact sensor to simple arm

Hi team i am trying to simulate a contact sensor to simple arm. Please tell the steps to follow