SalesForce (External Client Apps) on Multiple Organizations
Blog post from Unified.to
This guide outlines the necessary steps to enable a Salesforce External Client App (ECA) to function across multiple organizations. Normally, an ECA is restricted to the organization that created it, but by following these instructions, users can extend its connectivity beyond the original organization. The process begins with creating an app in Salesforce if not already done, and involves enabling 'Unlocked Packages and Second-Generation Managed Packages' and 'Dev Hub' in the Salesforce Dev Hub settings. It requires installing the Salesforce CLI, generating a Salesforce project, and logging into both the source and target organizations. The next steps include retrieving the app metadata from the source organization and deploying it onto the target organization, after which a connection can be established in the target organization.