Another simple substitute for dishwasher detergent consists of 1 cup of sodium bicarbonate, 1 cup baking soda, 1 cup borax, ½ cup citric acid, and 1 cup coarse salt. Combine all of these ingredients and store them in an airtight container, and use the same amount you would normally use when running a cycle in your dishwasher.