--- title: "Step 2: Enable pub/sub and Gmail APIs" slug: "step-2-enable-pub-sub-and-gmail-apis" tags: ["Integration", "Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-04T19:26:27Z published: 2026-09-04T19:26:27Z canonical: "docs.trellix.com/step-2-enable-pub-sub-and-gmail-apis" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Step 2: Enable pub/sub and Gmail APIs **To enable the pub/sub and Gmail APIs in your project:** 1. Log in to the Google Cloud Console: [https://console.cloud.google.com/](https://console.developers.google.com/). 2. Select the project you created from the project drop-down in the top navigation bar. 3. In the top navigation search bar, search for "Cloud Pub/Sub API". 4. Select the **Cloud Pub/Sub API** result that says "API" to the left. 5. Click **Enable**. 6. In the top navigation search bar, search for "Gmail API". 7. Select the **Gmail API** result that has a shopping cart emblem to the left. 8. Click **Enable**.