You would want to select the unit in the Alarm.com website that matches the unit in use.
If you just removed the gateway from the native myQ app, you may need to wait a few minutes before attempting to pair with Alarm.com.
You will want to activate the wall button of the related garage controller 3 times in a row to help the syncing process then pair the gateway to Alarm.com