HOWTO: making dynamic reflections w/ Pbuffer

Good morning / afternoon / evening!

I want to have a reflective surface in my scene, I’ve decided to use Pbuffer to make a reflection cube map.
The problem is: I know how to create/bind/destroy pbuffer, but how to actually render a reflected surroundings to a cube map? And how to map this cube map to a surface to get a proper reflection?

Read this

If you already know about p-buffer, then extending them is easy to support RTT.