what kind of alarm system do you have/ your door contact is normaly a 2 wire connection you should put it in zone 1 in the panel. be sure to entry the engineers mode which is normally 9999 before you take the cover off?
really you should power the system down to avoid electric shock, good luck