Connect 12 VDC to the black and red leads (polarity doesn't matter), or 12 VAC to the black and white leads.In-panel mount requires 1-3/4 in. mounting hole and 1 in. depth clearance.