You use a lifting beam whenever vertical space is your biggest constraint. Because it connects directly to the crane hook via its top bail, it eliminates the need for the tall A-frame rigging that a spreader bar requires. This makes it the only choice for many indoor lifts.
The connection is simple: the crane hook attaches to the top bail, and the load is connected to the bottom lugs with slings. The beam itself does all the work of distributing the load.