I'm looking for general guidance for replacing my old battery with new one. on 2008 Mercedes-Benz E320 BLUETEC

Which terminal, positive or negative, do I connect first? In this model what, if anything, do I also need to do for getting electronics back in sync (e.g. digital clock,power windows,sunroof, auto seat location)?

Asked by for the 2008 Mercedes-Benz E320 BLUETEC
Connect negative terminal first. Resetting your personal settings on the electronics should be available in the owners manual.