The outer membrane is a formidable barrier that protects Gram-negative bacteria against environmental threats. Its integrity requires the correct folding and insertion of outer membrane proteins (OMPs) by the membrane-embedded β-barrel assembly machinery (BAM). Unfolded OMPs are delivered to BAM by the periplasmic chaperone SurA, but how SurA and BAM work together to ensure successful OMP delivery and folding remains unclear. Here, guided by AlphaFold2 models, we use disulphide bond engineering in an attempt to trap SurA in the act of OMP delivery to BAM, and solve cryoEM structures of a series of complexes. The results suggest that SurA binds BAM at its soluble POTRA-1 domain, which may trigger conformational changes in both BAM and SurA that enable transfer of the unfolded OMP to the BAM lateral gate for insertion into the outer membrane. Mutations that disrupt the interaction between BAM and SurA result in outer membrane assembly defects, supporting the key role of SurA in outer membrane biogenesis.