# GCP Secret Manager Integration with MGS

1. Register a new user on MGS. When it’s done, you’ll be redirected to the Finish Setup page to finalize your user profile. To proceed with GCP Secrets as your Vault solution, please select the “GCP Secrets” option in the available vaults list and click the “Next” button.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FqcIzQK9GNfjigmNeEzOj%2Fimage.png?alt=media&#x26;token=0ae3cb79-27bb-4143-bbb8-8dbe0e4f8c44" alt=""><figcaption></figcaption></figure>

2. Enter an appropriate data into the fields:

* Project Id – Project number from the step 2.
* Client Email – Service account ID from the step 6.
* Account Private Key – Private key from the JSON (step 10).
* Secret path prefix – prefix to be added to the beginning of the key name (in case one vault is used for many accounts).

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FgSPnZLrgI2pMHz1zDlQY%2Fimage.png?alt=media&#x26;token=90d54bc0-9ff8-4914-b8c0-329c336eebbc" alt=""><figcaption></figcaption></figure>

3. On the next step, enter your Hedera Account and Name of the secret that was added to GCP Secrets, click Next to finalize the setup process.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FfEwgwFx4xsh8UsdIJWvr%2Fimage.png?alt=media&#x26;token=f1c70136-cc2c-4328-9e87-f1e9184a607e" alt=""><figcaption></figcaption></figure>


---

# 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.guardianservice.io/technical-information/users/mgs-vault/google-cloud-platform-secret-manager/introducing-google-cloud-platform-secret-manager/gcp-secret-manager-integration-with-mgs.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.
