To use the Accounts API, install the @wix/user-management package using npm or Yarn:
@wix/user-management
or
Then import { accounts } from @wix/user-management:
{ accounts }