Click the layers button (top-right) to open the panel and add XYZ or WMS tile layers.
XYZ: Enter a URL with {x}, {y}, {z} placeholders.
{x}
{y}
{z}
WMS: Enter a WMS GetMap URL with {bbox-epsg-3857} placeholder.
{bbox-epsg-3857}