This video guide shows how to install a new M.2 PCIe SSD in a typical Desktop PC, and applies well to most desktop systems.
This video is just about installing the hardware only, either in an on-board M.2 socket, or in an adapter. If you've already installed the bare SSD, and now want to install Windows, then see this guide.