Use the code the app or terminal showed you. Only enter a code from something you’re setting up right now.
8 letters and numbers. The hyphen is optional.