Ledger Nano S works works pretty like any hardware wallet. First, you plug it into your computer, set it up, then you choose a PIN code to protect the device from unwanted access. Then you will receive a 24-word seed phrase whici is your private key.