Docs
grovs.io Start for free

How to integrate an npm package

Add the Grovs SDK to your web project using npm.

1
Create package.json

Skip this for an existing project:

Bash
npm init -y
2
Install the package
Bash
npm install grovs
3
Import the package
javascript
const { default: Grovs } = require('grovs');

Bundlers such as Webpack, Vite and Parcel resolve the import at build time.

4
Configure the SDK
javascript
await Grovs.configure({
  apiKey: 'your-api-key',
  // Additional configuration options
});

See the Web Quick Start for every configuration option.

Last updated 2026-10-27
Was this page helpful?