# 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2FPSPADzCDKUuWVEpNxmUj%2FScreenshot_2024-06-25_13-23-16.png?alt=media&#x26;token=859728a6-b941-4f1e-acfe-a2aeefc47a6c" 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2FJQ6vBa0uDxjMS8YW9Ugq%2FScreenshot_2024-06-25_13-23-48.png?alt=media&#x26;token=01bc6383-fbcd-4c17-8a43-eb3bb307a008" 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2Fyp7kw5bqtDKExYdnMuQs%2FScreenshot_2024-06-25_13-39-48.png?alt=media&#x26;token=8abd76a6-5365-4f93-997c-c502d91928c9" 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2F9bknXJ6JMLnRl926LdvE%2FScreenshot_2024-06-25_13-24-06.png?alt=media&#x26;token=be727c4b-5e87-4634-9b9d-ba23244f6b51" 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2F50ViUgUgntlGJsJBNCMc%2FScreenshot_2024-06-25_13-25-40.png?alt=media&#x26;token=34793847-0e26-43ff-a09f-fb8283f489a6" 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2Fy6vaN6TGlp6viLI9npcG%2FScreenshot_2024-06-25_13-26-26.png?alt=media&#x26;token=de0c03d2-f797-42c4-9a92-e14ef19ff83f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2FI5a3U9pa3kZhskLy1UNg%2FScreenshot_2024-06-25_13-27-01.png?alt=media&#x26;token=72ead9d3-a7a1-42a4-b8a3-5fc341ed526f" 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.
