Find a paper clip to use as a jumper.
Then remove the driver seat and look for a 4 holed plug with only 2 wires going into it. It'll be somewhere behind the battery on the clutch side, its normally buried down.
Once you find the plug, turn the bike on and use the paper clip to jump the 2 wires going into the plug. Then look at your clock and a code will be displayed.