To use the SiteActions API, install the @wix/site-actions package using npm or Yarn:
@wix/site-actions
or
Then import { siteActions } from @wix/site-actions:
{ siteActions }