Welcome to our guide to installing Sprig with the Sprig SDK.
You can install Sprig with an HTML code snippet, which automatically ensures you have the latest version of our SDKs. In addition, you can install Sprig with NPM or YARN.
To install via NPM/Yarn, use the following shell command to install the Sprig SDK through NPM or Yarn as part of your web application. Sprig will be bundled with the rest of your front-end application and be immediately accessible on page load.
Keep in mind that with NPM and Yarn, you have to update the Sprig SDK manually to receive the latest functionality. We recommend updating the package frequently for improved functionality and bug fixes.
And there you have it! You’ve officially installed Sprig and are ready to launch targeted in-product studies.