This walkthrough from Mastering.com covers Logic Pro's Flex Pitch, the built-in pitch correction and shifting tool, using a vocal take as the working example.
After enabling Flex Pitch, notes appear as blocks you can double-click to snap to the detected pitch, or drag manually for finer adjustment. Right-click options let you set everything to perfect pitch, revert to the original, or reset in one move.
The editor view (shortcut: E) gives a more detailed, piano-roll-like display for correction work. From here you can time-quantize notes, quantize to a scale, and dial in how strictly pitch snaps to perfect using a strength slider.
Flex Pitch sometimes reads two separate notes as one, so splitting mis-analyzed notes is a necessary cleanup step before fine-tuning. Each note also has its own pitch drift, fine pitch, and gain controls, useful for smoothing out words that sit too quiet or too loud before any dynamic processing.