You should have got a registration code when you bought the PC version (either in the box with a physical product or probably emailed to you if you purchased it online). You can play PS4 and PC (and PS3) on the same account, but they each have their own registration codes that come with their respective purchases.