Slide the base cabinet into the desired place against the wall. Push the cabinet flush against the wall.
Place a mark on the inside of the cabinet with the pencil to indicate where the toggle bolt will be placed. Mark the location for all of the toggle bolts.
Place a drill bit in the electric drill, and tighten the chuck. Follow the procedures outlined in the drill's owner's manual for installing a drill bit. The size of the drill bit you need depends on the size of the toggle bolt used. Use the exact size bit recommended by the toggle bolt's manufacturer.
Place the drill on one of the pencil marks. Hold the drill straight and level. Depress the trigger while gently pushing on the drill to penetrate through the cabinet and the drywall.
Push a toggle bolt through the hole in the cabinet. The expanding part of the bolt must go into the hole. Tighten the toggle bolt with the screwdriver. Turn the bolt in the clockwise direction until the bolt firmly holds the cabinet to the wall. Repeat this process for the rest of the toggle bolts.