To use the Groups API, install the @wix/groups package using npm or Yarn:
@wix/groups
or
Then import { groups } from @wix/groups:
{ groups }