Sorry all for the typo- I meant to say "2021, not 2012". But I saw a You Tube video on how to retrieve the factory code for the keypad. New truck didn't have the card.
Was pretty easy;
- take BOTH of your smart keys
- drop one into the programming slot, press the "start engine button only once, with your foot off the brake. Do not start the vehicle, just turn on the power.
-wait till the chimes stop ( about 3-4 seconds) then press button once again
- remove the first key, do the same with the second
- the dash display will show the 5 digit factory code. Once you have that you can re-program it to your own personal code. But you can never override the factory code, which will continue to work if you want to use it also.