Measure the width and height of the area where the pet flap will be installed, ensuring a minimum 70mm gap between the edge of the hole and the door or window frame.