Create Credentials

This guide will help you to generate your GCP credentials to connect your GCP account to Qovery.

Generate your GCP credentials

  1. Connect to your GCP console

  2. Create a new Project or open an exiting one

  3. Open the embedded Google shell

  4. Run the following command in the Google Shell to create the service account and generate the json key:

    curl https://hub.qovery.com/files/create_credentials_gcp.sh | \
    bash -s -- $GOOGLE_CLOUD_PROJECT qovery_role qovery-service-account
  5. Once the script is finished, you will see the following message:

    created key [xxxx] of type [json] as [key.json] for [qovery-service-account@<your-project>.iam.gserviceaccount.com]
    Operations completed. You can now download your json key to upload in Qovery

    So you can download it by clicking on the Download button.

    And specify the name of the file /your/home/key.json and click on Download.

    That's it!

Well done!! You now have your GCP JSON credentials key; It is time to connect Qovery to your GCP account.

Install a new cluster on Qovery

You will be able to use the credentials you just generated when creating a cluster via the Qovery console. This cluster will be linked to your Qovery organization. Follow this documentation to create a new cluster on your organization.