It takes the primary slot and best way to use it is to either stand inside a building so you can hit the zombie while he's slowly walking (melee has quite a reach) or just crouch walk backwards. The zombie will attempt his attack animation but you'll move just out of his reach, yet you can instantly attack with your axe/crowbar since you're walking.