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.

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

Requirements

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

Source code

Javascript SDK repo.