--- title: "Step 5: Create a topic in Google Cloud" slug: "step-5-create-a-topic-in-google-cloud" 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-5-create-a-topic-in-google-cloud" --- > ## 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 5: Create a topic in Google Cloud Set up the configuration for the pipeline through which Trellix is alerted that messages have been received and downloads them. This involves creating a topic, the publish side of the pub/sub. **To create a topic:** 1. Follow steps 1-3 under "Create a topic" in the [Google documentation](https://cloud.google.com/pubsub/docs/create-topic#create_a_topic). 2. Unselect **Add a default subscription**. 3. Click **Create**. Make note of your topic name for later use. > [!NOTE] > Note > > It is not necessary to set up a subscription object (the sub portion of the pub/sub configuration); Trellix uses the rights granted to the service account to create the subscription for you. Next, grant permissions to publish to and edit your topic. This is done from the Topics page (the page you're directed to after your topic is created). **To assign permissions to a topic:** 1. Select the box to the left of the name of the topic you just created. 2. In the right-hand pane, click **Add principal**. 3. In the **New principals box**, enter "gmail-api-push@system.gserviceaccount.com" 4. Click the **Select a role** drop-down, then hover over **Pub/Sub** in the left-hand pane. 5. In the right-hand pane, click **Pub/Sub Publisher**. 6. Click **Save**. 7. Click **Add Principal** to add the next principal. 8. In the **New principals box**, enter the email address you entered earlier for the service account. 9. Click the **Select a role** drop-down, then hover over **Pub/Sub** in the left-hand pane. Select **Pub/Sub Editor**. 10. Click **Save**. 11. In the right-hand pane, expand the **Owner** role / principal. Make note of the email address listed. The owner of the topic will be used as the admin email in the Email Security - Cloud authorization configuration later on. > [!NOTE] > Note > > If you want to use a different user for creating/owning your subscriptions, change the owner to the user that you want to create your subscription objects.