Sample Snippets for Connect Gateway API Quick Start In order to run these samples, you first need to go through the following steps: Select or create a Cloud Platform project. Enable billing for your project. Setup Authentication. Setup Connect Gateway.