Also important: install a galvanic isolator
If your boat is equipped with shore power, you have established a common ground (via the green wire) with the dock and nearby boats -- which MAY mean that your boat's submerged metal parts have become part of a gigantic battery. The resulting galvanic corrosion can be very destructive, as this thread illustrates. Happily, there is a simple cure: install a galvanic isolator. The isolator blocks dangerous galvanic currents (low-voltage DC, typically less than 1.2 volts) but allows high-voltage AC to pass. Galvanic isolators (about $200-$250) use diodes to block the DC currents. NOTE: ABYC has apparently specified that galvanic isolators should include self-monitoring LEDs (effective July 2002). Two units that provide these features are the Guest 2433P (30 amp) and 2450P (50 amp). Cheaper units lack the ABYC-mandated integrated monitoring features. There are three rationales for going with the more expensive, ABYC-conforming units: (1) If you sell your boat and get an ABYC-happy surveyor, you may find yourself upgrading the unit in order to complete the deal; (2) non-conforming units could be installed in a way that is dangerous. You can test the installation, but it's tricky, I'm told; (3) Galvanic isolators perform a crucial role in the boat's electrical system, and the more expensive units have heat protection and backup circuits. As Peter Kennedy says, it's only prudent to use the best available unit (http://www.pkys.com/galvanic_isolators.htm. (I highly recommend Mr. Kennedy's Web site -- http://www.pkys.com for information on marine electrical systems and related products.)Also note: The West Marine catalog and Guest's Web site catalog states that the cheaper Guest units conform to ABYC standards, but this doesn't appear to be the case -- they don't have self-monitoring capabilities -- perhaps someone more informed than me could comment??? Succinct background article: http://www.adverc.co.uk/products/protection/galvanic.aspTypical installation schematic: http://www.dairyland.com/schematic.pdfTest prodecure for units lacking self-monitoring capabilities: http://www.pkys.com/Folder1/Galvanic%20Isolator%20test%20procedure.htmDisclaimer: I'm not an expert in this area! The above is what I've worked through in figuring out which galvanic isolater to purchase. Unless you are sure you know what you are doing, it's really a good idea to have an ABYC certified electrician install and test a galvanic isolator.