Back to Help Center

How-to: Activate the Salesforce App Analytics API

Last modified on 2025-09-05

In order to activate the App Analytics API, please follow these steps:

First Generation Packaging (1GP)

You can simply login to your packaging organization and enable App Analytics via the Package Manager.

Please follow the steps of the official 1GP activation guide.

Second Generation Packaging (2GP)

You can enable App Analytics via the sf command line utilities.

Please follow the steps of the official 2GP activation guide.


Backup Method: Log a support case

In case you do not have access to your packaging organization or the sf command line, use this method to enable App Analytics.

1. Locate your Package IDs

You will need the Metadata Package IDs of the packages that you want to enable - they will always be in the format 033xxxxxxxxxxxx.

Login to your License Management Organizatino (LMO). This is the organziation where your License Management App (LMA) is installed. Head to the custom LMA object "Packages" and locate your package in the list. On the Package Detail page you can find the id in the field "Package ID".

If you cannot find the Package object, ensure that you have the necessary permissions. If you cannot locate the Package ID field, ensure that it has been added to the Package page layout.

2. Log a case in the Partner Community

  • Log in to the Salesforce Partner Community.

  • Click the question mark icon and then click Log a Case for Help.

  • Provide any required details, such as the package ID from the section above that you want to enable App Analytics for, and then click Create Case.

  • Salesforce reviews your case and notifies you when App Analytics is enabled (this typically takes 1-2 days).

Did not find what you were looking for?

Please let us know: [email protected]