Account Codes are automatically generated on creation of a Site.
When accepting a new Site Share an Account Code will be generated automatically as well.
Account Codes can still be edited within the Site Details screen, accessed from the Site Dashboard, at any time:-
These codes are used to group sites together under a single account which allows for farm resources such as Stock Stores (not yet available) to be shared.