The Roku.com/link code is obtained when you are trying to activate your Roku streaming device. In order to link the device, you need a Roku Account. You can create an account before or after activating your player. The Roku Setup steps will, in any case, prompt you to create a Roku account.
Tampa