I don't know about a motorcycle, but should be the same concept as cars. So, first you need to contact the dealer, order or buy a FOB, then bring the bike to a dealer, then they will program the FOB with the bike. That should do it.
Sometime, the module might have to be replace along with a new FOB. This is rare.
Lastly, you can always call the dealership and ask....