Create and render hdr environtment map?

Is there a way to render environment map from blender scene? I’d like to build a “room” with windows and lights, than render a hdr map for use with final project. But still can’t google, how to make it right.

Set up your scene as you like it, then render with camera inside the room set to Panoramic > Equirectangular and save the render out as an .EXR file. Boom!

Ooops, so easy! Thank you.