"New" fob "coded" to the bike is a Harley dealer gig my friend.
Need their dealer digitech computer to do it , no way around that that I know of
Brave of you to "rebuild" a stat write off in today's market my friend.
10+ years ago it was all the rage , new HD's took a year+ to get etc etc
The used Harley market has changed in Australia , probably forever.
You can get such a deal on a 2007 to 2012 of any model , all straight and legit.
I've seen a "young" Fatboy as cheap as 6 grand !!