You can follow along here.
https://learn.microsoft.com/en-us/windows-server-essentials/install/add-windows-server-essentials-as-a-member-server
licensing guide here
https://www.microsoft.com/en-us/licensing/product-licensing/windows-server?SilentAuth=1&wa=wsignin1.0
--please don't forget to upvote
and Accept as answer
if the reply is helpful--