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