To use the SDK API, install the @wix/sdk package using npm or Yarn:
Copy Code
npm install @wix/sdk
or
Copy Code
yarn add @wix/sdk
Then import createClient
along with other functionality you need from @wix/sdk
:
Copy Code
import { createClient, OAuthStrategy, media } from '@wix/sdk';
Was this helpful?