Neeraj N
11/25/2025, 4:00 AMkapa.ai
11/25/2025, 4:00 AMclient_id, client_secret, and a client_refresh_token from Google. - Follow [Google's instructions](https://developers.google.com/gmail/api/auth/web-server#create_a_client_id_and_client_secret) to create a client ID and client secret. - Use the OAuth flow to obtain a refresh token. The required scope is `https://www.googleapis.com/auth/gmail.readonly`[Gmail Source Connector Docs](https://docs.airbyte.com/integrations/sources/gmail). 2. Add the Gmail Source in Airbyte: - In the Airbyte UI, go to the left navigation and click Sources. - Click New Source. - Select Gmail from the list of available sources. - Fill in the required fields: - client_id - client_secret - client_refresh_token - Optionally, set include_spam_and_trash to true if you want to include spam and trash messages. - Click Set up source. Airbyte will test the connection to ensure the credentials are correct and the source is accessible. 3. Proceed to Set Up a Destination: - After the source is set up, you can configure a destination to sync your Gmail data. For more details on the configuration fields and supported streams, refer to the [Gmail source connector documentation](https://docs.airbyte.com/integrations/sources/gmail). If you need general guidance on adding a source in Airbyte, see the [Add and manage sources guide](https://docs.airbyte.com/platform/using-airbyte/getting-started/add-a-source).