Honda trouble

the bolts on my sensor came loose and the sensor came off the back of the im, but i still dont know what else i need to get the computer to hook up to the car for inspection