Skip to content

SDK Integration

Once you receive the BiosenseSignal_Web_Sample_X.X.X.zip file, you are ready to add the Web SDK to your application.

Follow the steps below to integrate the SDK into your application.

1. Add the BiosenseSignal SDK package to your Project

1.1. Extract the BiosenseSignal_Web_Sample_X.X.X.tgz file.

1.2. Copy the biosensesignal-web-sdk-vX.X.X-X.tgz file into your project folder

1.3. Use npm to install:

npm install biosensesignal-web-sdk-vX.X.X-X.tgz

Or yarn:

yarn install biosensesignal-web-sdk-vX.X.X-X.tgz

1.4. Add the following to your webpack.config.js file plugins:

    plugins: [
      new CopyPlugin({
        patterns: [
          {
            from: path.resolve(paths.node_modules, '@biosensesignal/web-sdk/dist'),
            to: path.resolve(paths.build),
            globOptions: {
              ignore: ["**/main.*"]
            }
          },
        ],
      }),
    ]