- Documentation

Java Server

After Creating Your Application, it is time to install the SDK.
There are three steps in the SDK install:

  1. Add the Rollout SDK to your project.
  2. Set up your Rollout environment key.
  3. Initialize the Rollout SDK when the service starts.

Add the Rollout SDK To Your Project

The first step is to add the ROX Java Server library to the dependencies block in your build.gradle file.

Add these lines to your dependencies file

implementation 'io.rollout.rox:rox-java-server:4.6.0'

Initialize the Rollout SDK when the service starts

The third step is to initialize the Rollout SDK when the service starts. If your service contains a class that setup initial services, that is the right place to initialize the SDK.


Run your service

Now you can build and run your service

If you log in to the Rollout dashboard, the dashboard will recognize that the setup is complete.

That's it! Now your app is ready to use Rollout.

And with that, it's time to create a Rollout feature flag.

Java Server

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.