The substrate-assisted nickel chelatase mechanism of CfbA in coenzyme F430 biosynthesis was unveiled by X-ray crystal structure analysis.