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