You should install where the main water line comes into the house before it splits to the water heater or other plumbing.