Micra 97 fob programming

Got a micra last night, the battery has been off the car for awhile and the fob doesn't work I have the master fob which is 1 button, any one have any idea how to program it? Looked online and they're all talking about twin button fobs
 
Top