- Clone this repo.
- Cd into newly created directory, or if using the defaults
cd web-widget-sdk
. - Run
npm install
. - Run
npm run example
and enter your API and user settings when asked for them. This command will start a proxy server for the MX Platform API and open your default browser and navigate to the example application after.
The example application uses @mxenabled/sso-api-proxy
to run
a proxy server that talks to MX's Platform API. When the proxy server first
starts up, it will prompt you to enter the necessary API and user settings in
order to run. This configuration is then saved locally. See this
page for more information on how to configure
@mxenabled/sso-api-proxy
.