We've built a simple console application that demonstrates how LaunchDarkly's SDK works. Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your Quickstart page.
Note that this sample application does not use any functional programming frameworks such as Scalaz or Cats. Rather, the application exhibits how to use the LaunchDarkly Server-Side SDK for Java in a vanilla Scala application.
- Install SBT.
- Copy your SDK key and feature flag key from your LaunchDarkly dashboard into
Main.scala
- Run
sbt run
to compile and run the sample application.