In a pot, bring the water, butter and salt to a boil. Remove the pot from the heat. Add the flour all at once and stir vigorously with a wooden spoon. Return the pot to medium heat and cook, stirring, until the mixture forms into a ball and detaches from the sides of the pot, about 2 minutes.