Click the main menu button.
Tap the Settings button.
Tap Adventure Sync. You'll also be prompted to give Pokémon GO permission to access your Apple Health or Google Fit data.