Understanding the Javascript Fynd Development Kit (FDK) Client

What are the crucial steps to install and use the FDK client in Javascript? Can someone provide a clear walkthrough?

To install the Fynd Development Kit (FDK) client for Javascript, you first need to install it using npm by running the following command:

npm install fdk-client-javascript --save

Once installed, you can import and use it in your application as follows:
\

const { ApplicationConfig, ApplicationClient } = require("fdk-client-javascript");\
\
const config = new ApplicationConfig({\
  applicationID: "YOUR_APPLICATION_ID",\
  applicationToken: "YOUR_APPLICATION_TOKEN",\
});\
\
const applicationClient = new ApplicationClient(config);\
```\
\
You can also use the Platform Client as shown below: \
\
```jsx\
const { PlatformConfig, PlatformClient } = require("fdk-client-javascript");\
\
let platformConfig = new PlatformConfig({\
  companyId: "COMPANY_ID",\
  apiKey: "API_KEY",\
  apiSecret: "API_SECRET",\
  domain: "DOMAIN",\
});\
```\
\
The FDK client also includes Typescript definitions. Please note that you'll need to replace placeholders like `YOUR_APPLICATION_ID`, `YOUR_APPLICATION_TOKEN`, etc. with your actual values. You can refer to this [documentation](https://partners.fynd.com/help/docs/sdk/how-to-install/javascript) for more detailed information.