After you install the SSD you must open Disk Utility, set the partition type to GUID and erase the drive before the Mac can use it. You want HFS Extended (Journaled) if you’re running macOS 10.12 (Sierra) or earlier. If you use macOS 10.13 (High Sierra) you can use HFS Extended (Journaled) or APFS.