Just install the OS using the installation media then follow the onscreen instructions. Once installed and it is connected ton the internet, it should activate itself. You may have to phone Microsoft automated system to reactivate your licence with your new motherboard.