Skip to main content
Install and initialize the LaunchDarkly Go SDK to start evaluating feature flags in your application.

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:
Shell

Initialize the SDK

Go SDK initialization
You can find your server-side SDK keys, mobile keys, and client-side ID on the SDK keys page under Settings.
To learn more, read Initialize the client in the Go SDK reference guide.