To use the AppInstances API, install the @wix/app-management package using npm or Yarn:
@wix/app-management
1
or
Then import { appInstances } from @wix/app-management:
{ appInstances }