It's simple. The instructions come with
the meter. It's only two wires or so. One goes to ground and the other goes to either the back of the ignition switch or to the altinator. If you choose the ignition switch then the meter will be turning once you turn the switch on. If you connect to the altinator than the meter runs only when the engine is running. Personally, for ease of installation, I connected my meter to the ignition switch. Since I have a diesel, as you do, there's no circumstances I can think of where the switch would be on without the engine running.