download and set up the SDK, widget, and sample app