In short: Open Settings → Coaching → Personal trainer and tap Find a trainer to search the directory and apply, or accept the invite your trainer sends you. Once you work together, your trainer sees your training and progress and can add workouts and programmes to your account.