The sump is supplied with a flange ring, which can be screwed to its top lip. If the pond is liner-based, the liner should be sandwiched between the flange ring and the sump lip, and adhered with a suitable sealant, creating a water-tight seal.
eBay