To create the "Glass" material, the "Transparent" material type must be selected. A desired transmittance can then be set for this type. In the image below, the settings for our window glass can be seen.

Alternatively, a window can be placed in a room. Here the glass material can be selected with the pipette function "Pick material".