Where is my 9 digit device code

you have the older my cloud. there is no 9 digit code for the version you have. The newly released My Cloud home is the only one that has a 9 digit code.

you will need to scroll down a little on www.mycloud.com and use the sign in for My Cloud.

If you are setting it up for the first time use My Cloud