To everyone's great cheering they merged the SATA standard many years back, so your laptop drive will function perfectly in a desktop. As Jamie_69 said it will prompt you for which drive you want to install Windows onto and let you wipe the drive to make room for the new installation. In most cases the motherboard will properly detect the SSD. However, in case it does not you'll need to enter the BIOS (see manufacturer's website, manual, or google how to) and set up the drive. That usually just involves setting the SATA port to auto detect, then making the SSD the boot drive.
Hope that helps.