Garmin edge 540 and e bike

after connecting the garmin edge 540 to the e-bike Trek fuel exe 9.5 I can't see it maps, but just ride parameters from the e-bike... how do I set garmin edge 540 to show me the data from the e-bike and the map?