Loading percentage with a progress bar

i would like to add a progress bar in a loading screen, with the percentage of loading the map.
how can i create it?
(accept the code also in c++)

Look into umg widget sliders.