# Quick Start Quide

## Setting up WebSDK

Follow these steps to setup WebSDK on your Web App.

- ##### npm install

  install dependencies from npm, WebSDK project has dependencies that need to be installed so that clients can generate a build

- ##### npm run build

  Generates a build folder which contains minimified bootstrap javascript file and css.

- ##### Add a Script tag to your page which has source pointing to the websdk build JS

  <script src="build/nuan_websdk_bootstrap.js"></script>

- ##### Add a Link tag to your page which has href pointing to the websdk build CSS

  <link rel="stylesheet" type="text/css" href="build/nuance-chat.css"></link>/p>

## Configuring WebSDK

- ##### NuanMessaging.initializeMessagingSDK

  initializeMessagingSDK is the first method that must be called in Client Javascript to init the rendering of Nuance Messaging Framework. This must be provided with necessary parameters and a callback

- ##### NuanMessaging.getAndSetSDKConfig()

  Returns a config object. Please refer the config documentation. Very minimium application must set the siteID value.
  NuanMessaging.getAndSetSDKConfig().siteID = 10003715;

- ##### NuanMessaging.loadChatAssets()

  This method will inject the creation of sandboxed iframe.