HAT-P-1b was detected by searching for astronomical transits of the parent star by orbiting planets.
HAT-P-1b was identified through the detection of its parent star's transits, which are caused by orbiting planets.