An installation for automatically milking an animal provided with a box for containing an animal to be milked and with a robot arm for automatically connecting teat cups to the teats of the animal, wherein the box comprises at the first longitudinal side a passage opening for giving an operator access from the outside of the box to the inside thereof and vice versa.