In the CloudBees .NET SDK, call Setup exactly once at startup and guard it so it cannot run twice; a second successful Setup is ignored, which hides configuration bugs instead of failing loudly. If you need to reinitialize (new key, new options), call Shutdown first, then Setup. The SDK key is environment-specific: a key from staging reports against staging, so a prod deployment with a staging key shows no prod data. Flags you register in a RoxContainer appear in the CloudBees UI after the first run, which is the fastest way to confirm the key and environment are right.

Context: Official docs (CloudBees, .NET SDK): documents the setup gotchas: the SDK key is environment-specific, and calling Setup again after a successful setup is silently ignored unless Shutdown ran or the first setup failed.