# GCP

#### **For GCP as Your Cloud Service Provider** <a href="#for-aws-as-your-cloud-service-provider" id="for-aws-as-your-cloud-service-provider"></a>

If you've selected GCP as your cloud service provider, you'll require the following credentials:  **JSON private key** for your GCP service account

To obtain these credentials, follow the steps below:

**Step 1: Navigate to Service Accounts page in IAM & Admin section**

* Log in to your GCP Cloud Console.
* Click on the left menu dropdown in the upper-left corner.
* Select “IAM & Admin” from the dropdown menu.

<figure><img src="/files/KgGWAzOzTtNcsbYhkQDt" alt=""><figcaption></figcaption></figure>

* Click on the "Service Accounts" from the sub menu of the dropdown.
* You should be navigated to your service accounts page.

<figure><img src="/files/rw7HxBltwN5NuK1SHXWv" alt=""><figcaption></figcaption></figure>

**Step 2: Check permissions for your service account**

* First make sure that your service account has the right permissions to create VMs
* Click on the service account and check the "Permissions" tab.
* The service account should have "Editor" role as shown in the below image.

<figure><img src="/files/wUP742AfezPDp1T9ZXRT" alt=""><figcaption></figcaption></figure>

**Step 3: Create new key for your service account**

* Go back to the service accounts page and select your service account
* Click on "Actions" button to see the dropdown menu.

<figure><img src="/files/cdUOhEuaRFY90TBs03lD" alt=""><figcaption></figcaption></figure>

* Click on "Manage Keys" and you should be navigated to keys page.
* Click on "Add Key" button to add a new private key

<figure><img src="/files/nXTm1yiMDiSEFNaXENEJ" alt=""><figcaption></figcaption></figure>

**Step 4: Create a JSON private key**&#x20;

* Select "Create new key" option from the dropdown menu
* A modal with the recommended option to create a JSON should be displayed

<figure><img src="/files/ewwJJLEOLRm92OFZJado" alt=""><figcaption></figcaption></figure>

* Click on "CREATE" button
* The key should be generated and automatically downloaded to your "Downloads" folder

<figure><img src="/files/qw6bGTBFbl1Z7Xhv9PVU" alt=""><figcaption></figcaption></figure>

**Step 5: Copy & paste the entire JSON to Neverinstall's GCP Cloudlink**

* Open the JSON file and copy the entire json object including the {} braces.
* Go to Neverinstall's dashboard and click on GCP
* Enter the copied JSON in the text box and click on "Connect"
* Refresh the page after few seconds
* Your GCP account should now be successfully linked to Neverinstall.


---

# 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.neverinstall.com/cloudlink/creating-a-cloudlink-space/gcp.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.
