For a new installation, the plumber picks a spot where water collects, cuts the slab, digs the pit, sets a liner and pump, and runs a discharge pipe with a check valve through the wall. For a replacement, they'll size the new pump to how often the old one ran and check the float, valve, and outdoor line.
Ask where the water will go. On a Norwell lot it should discharge to the surface well away from the foundation, the septic tank, and the leaching field, and it shouldn't be routed onto a neighbor's property. If the pump needs a new dedicated circuit, an electrician files that work with the town's wiring inspector, and Norwell requires a plumbing permit for new plumbing work.
Battery or water-powered backups are worth discussing in any house that has flooded before, especially in the low areas the March 2010 storms hit.