Skip to main content

Install the package

  • If you are using the standard Go modules system, import the SDK packages in your code and go build will automatically download them. The SDK and its dependencies are modules.
  • Alternatively, you can run the following command:

Initialize the SDK

You can find your server-side SDK key, client-side ID, and mobile key in the “Resources” section of the help menu. Click the help icon at the bottom left corner of the LaunchDarkly UI, then choose SDK keys:
The SDK keys option in the help menu.

The SDK keys option in the help menu.

To learn more, read Initialize the client in the Go SDK reference guide.