The Scrivito Example App includes a generator for conveniently creating CMS object and widget classes. In this brief tutorial, we are going to show you how to generate a widget class and explain the purpose and working principle of the files the generator creates. Generating an object class works analogously, so we are not going to deal with this part here. If you are a first-time user, consider taking a look at our Introduction to Creating and Rendering Pages and Widgets before you start.