Turn off the power to the heat pump at the outside breaker. In the United States, most heat pumps will be installed on a 240V circuit, which means the breaker inside the control box will be one of the larger, double breakers. Turn the breaker to the position marked "Off" or "0".
Use a screwdriver or socket wrench to remove the screws or bolts holding the service panel in position on the side of the pump. Set the panel aside.
Make a note of the current wire connections on the board, if this installation will replace an existing Mars board. This will help you make the right connections. Use a pair of needlenose pliers to pull off the current wires. Loosen the screws holding the board in place inside the heat pump cabinet, and remove the board.
Connect the bottom left terminals, marked "Cycle," to the power cables (usually colored black). Connect the red wire protruding from the center of he Mars board to the red wire from the heat pump. Consult the diagram you made earlier of the previous board to connect the rest of the wires. If this is a new installation, consult your heat pump manual to determine the exact order of wire replacement.
Secure the Mars board inside the heat pump cabinet by inserting screws through the board body.
Replace the electrical service panel.
Restore the power at the outside breaker.