When you apply for the SBA 8(a) Program you must report to the SBA what your primary NAICS (North American Industry Classification System) code is.
Your primary NAICS code is defined as the six digit code in which your business earned its largest segment of revenue, in the most recently completed fiscal year.