Hot or Cold . I don't know if you'd get enough hot water using the cold supply or not but I'd try that first . If it didn't work I'd switch to the hot supply . Cutting the small faucet supply pipes above the shutoff valves , using flexible copper tubing & compression fittings it wouldn't take much to hook it up or switch supplys if necessary . You'd likely need reducers to connect the tubing to the inlet & outlet of the tank .