first basic gateway setup