Show a legend is made easy. Simple drag a legend component on the map, Link the legend towards a map instance name. Resize the legend and select a background color or set other property settings to fit your layout.
Note the exclude layer in the properties, you can add a list of layers that should never be show by the legend.This can also be defined on the server site eather way you can decide what fits you best.