Yep, Scotty, you want to wire it into a circuit that is only hot when the engine is running if you can, like oil pressure or fuel pump.
That way it you went off and left the inition switch on, you wouldn't be running up hours until the battery went flat.
olf