Abelian group
The above is valid for a Yang–Mills theory with SU(2) as gauge group. It can readily be generalized to an arbitrary non-Abelian group. The instantons are then given by the BPST instanton for some directions in the group space, and by zero in the other directions.