Step 2Parts: The Plumbing Bits
iImage Information

Some of this is going to depend on what size solenoid valves you go with, and what size fixtures you have under your sink. My fixtures were 3/8" (which I believe is standard), and my solenoid valve was 1/2" inch with male connectors on each end, so I needed adapters to go from 1/2" male to 3/8" male, and 1/2" male to 3/8" female. Your local home parts or plumbing store should carry these. Don't be afraid to ask for help, and if you already have your solenoid valves, bring one along to help avoid confusion. You will need one of each for each solenoid valve, so four adapters in total.
If you use a connector like the one in the first picture and your solenoid valve is plastic, you might want to try to find a 1/2" rubber washer, as going from brass to plastic can leak unless it's very tight. The adapter in the second picture has built-in rubber seals.