# Add context integration to Fusion

{% hint style="info" %}
**📘You need a GCP service account to setup a context integration.**

Follow the initial steps below to create one.
{% endhint %}

## 1. Create a GCP service account <a href="#id-1-create-a-gcp-service-account" id="id-1-create-a-gcp-service-account"></a>

1. Go to the Service Accounts page

![](/files/bcF9Bd09qWQ7sVZXMfsF)

2. Click **Create Service Account** and follow the steps in the wizard.

![](/files/onNM7UoR05g577b6dH4B)

3. Create a service account name; your service account ID email address will be auto-created for you.

![](/files/y3NqzB24lONdwimoITcq)

4. Click **Select a role**, use the **Filter**, type **viewer** into the filter, click **Viewer** to give this service account a **Viewer role**.

![](/files/QjSrGz9miOJkgcDnHYLy)

Leave the rest set as default.

## 2. Create your service account access keys and export a JSON file <a href="#id-2-create-your-service-account-access-keys-and-export-a-json-file" id="id-2-create-your-service-account-access-keys-and-export-a-json-file"></a>

#### The following steps will enable you to automate context configuration in Netography Fusion. <a href="#the-following-steps-will-enable-you-to-automate-context-configuration-in-netography-fusion" id="the-following-steps-will-enable-you-to-automate-context-configuration-in-netography-fusion"></a>

1. Click **:** to access Actions for your newly created service account, then select **Manage keys**.

![](/files/NAXVzhT3ZyOFGIgdbNhZ)

2. Click the **Add Key** menu and select **Create new key**

![](/files/cROeyo6XKK4MZRMbHSmZ)

3. Choose **JSON** format. This will enable you to export a file that will automate context configuration in Netography Fusion and reduce setup to one step.

![](/files/Pz70LUiCzdlVCoE1uPPB)

4. The **JSON** file containing your private key will be auto-downloaded to your computer, delete this file once you're done with it.

![](/files/WBFaYf5dmOHj4VUiQe2X)

## 3. Create a new Context Integration in Netography Fusion and upload your JSON file. <a href="#id-3-create-a-new-context-integration-in-netography-fusion-and-upload-your-json-file" id="id-3-create-a-new-context-integration-in-netography-fusion-and-upload-your-json-file"></a>

1. In the Fusion portal, click the ⚙️ -> **Settings** -> **Traffic Sources** -> **Context Integrations** -> **Add Integrations**

![](/files/aQ5PPrEf1cGnNDWXg7H1)

2. Select **Google Cloud Provider**

![](/files/ebUu4IRkWwZM1emqIjav)

3. Use the "**IMPORT FROM JSON**" button to import your JSON file you exported from GCP.

![](/files/dU5mz65iZfAllbQh4FQK)

4. Leave **Zone** blank to automatically include all zones.

![](/files/luhlAbtfo4nNFNSwMXnn)

5. All fields will be auto-completed and your private key will be imported.
6. Click **Create and Run** to save.

![](/files/NJ4s1QahXJDrUmFFYDvf)

{% hint style="success" %}
**👍You're done!**
{% endhint %}

Check **Context Labels** to verify your context integration is working as expected

![](/files/jMDTNmNyrcGGiyaFAAXP)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fusion.vectra.ai/quick-start/quickstart-gcp/context-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
