HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Install SDK

This topic describes the steps necessary to install the Optimizely JavaScript (Node) SDK into your application.

The JavaScript SDK can be used in Node.js environments, and is distributed through npm. Add it to your package with npm:

npm install --save @optimizely/optimizely-sdk
yarn add @optimizely/optimizely-sdk

The full source code is at the JavaScript SDK repo.


The JavaScript SDK requires Node.js version 8.0.0 or newer.