Add remote snippet for gateways