HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Install SDK

This topic describes the steps necessary to install the Optimizely Feature Experimentation 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 in the JavaScript SDK GitHub repo.

Requirements

The Optimizely Feature Experimentation JavaScript SDK requires Node.js version 8.0.0 or newer.