For hard-wired smoke detectors, with the power off at the breaker, wire the included wiring ... battery before you attach ...