Create an Apex code to get your company ID.
String orgId = [SELECT Id FROM Organization LIMIT 1].Id; System.debug('Company Id (Org Id): ' + orgId);