How to create multiple viewports?

Hello,

I want to create a window in which one side will be character customization (textures, weapons) on the other, his preview in which I can move, scale or rotate it.

Something akin to editor window.
How do I do this? Create two viewports ? If so where can I find an example SViewport?

Thanks for answers

If anyone knows, please that would be very great to know the solution.

Possibly solution: