GuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

Install 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

The full source code is at the JavaScript SDK repo.

Requirements

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


Did this page help you?