The present invention is directed to compounds of the formula (I) : (wherein variables A1, A2, A3, A4, A5, A6, A7, A8, G1, G2, G3, G4, J, Q, Ea, Eb, Ec, R6, R7, RPG and Y are as described herein) which are antagonists of CGRP receptors and which are useful in the treatment or prevention of diseases in which CGRP is involved, such as migraine. The invention is also directed to pharmaceutical compositions comprising these compounds and the use of these compounds and compositions in the prevention or treatment of such diseases in which CGRP is involved.La présente invention concerne des composés de formule (I), dans laquelle les variables A1, A2, A3, A4, A5, A6, A7, A8, G1, G2, G3, G4, J, Q, Ea, Eb, Ec, R6, R7, RPG et Y sont tels que définies dans la description qui sont antagonistes des récepteur CGRP et utiles dans le traitement ou la prévention de maladies dans lesquelles le CGRP est impliqué, telle que la migraine. L’invention concerne également des compositions pharmaceutiques comportant ces composés et l’utilisation de ces composés et compositions dans la prévention de telles maladies dans lesquelles le CGRP est impliqué.