The op did not mention if the car had navigation or not. For mine with nav the nav menu has a Telephone menu option on the main screen. I would thin this would show only if you had blue tooth. If so then I would do as suggested, enable bt on your phone, sit on the car and turn to position 2. You should see the car listed as available. If that works then go dig out the code. I has to do it on mine and its not that hard. Just remove the plastic fasteners carefully and you can get to it. There are several posts on google that show the exact location.
Word of advice...write it down when you do find it.!
Sent from my PG86100 using Bimmer App