How are HDRIs used for the foreground?
Use the HDR as environment texture.
Just line up the camera so that it sees that part of the environment.

Or rotate the environment image until you see the section you are looking for.
How do I rotate an environment texture?
To have shadows of the object create a plane and use it as shadow catcher.