First, open NinjaTrader 8, and click the About link in the Help tab.

Your Machine ID will then be shown the About NinjaTrader window.