First startup attempt, Melted wire....Help!

I don’t think the ballast resistor is your issue. From your pictures you have the keyed plugs, so they only go one one way. Is you are seeing some smoke from the alternator, I would take it to a parts store and have it tested.