Yes you should have a disconnect switch. You should connect the battery first because the controller has to recognize what voltage the battery is (this controller works for both 12 and 24 volts and it has an auto recognize feature). Then once the battery is connected and recognized you can turn the switch to connect the panel to the controller.