I'm wondering if anyone knows how to successfully transfer a win 10 license to a newly built custom pc?

Let me explain my situation:

I have an old desktop that I built and upgraded some parts...