You can connect MyFitnessPal through the Apple Health app.
- Open the Health app.
- Tap on your profile icon in the upper right corner.
- Scroll to Privacy and tap on Apps.
- Tap on MyFitnessPal.
- Select either Turn On All or specifically select what data you want shared.
- Then, repeat the same steps for The Fitness App if you have not already done so.