Connecting a project requires the Administrator role on your team. See the
IAM trust model for the security design behind this flow.
Connect
In your GCP project you:- Enable the Cloud Resource Manager and IAM APIs.
- Create a connector service account (
nuphos-connector). - Grant it permission to manage your project.
- Grant the Nuphos platform service account permission to impersonate it.
Option A — Guided setup with the agent (recommended)
In Connectors → Connect → GCP, choose the guided path. Nuphos opens an agent session that runsgcloud on your machine and performs the steps below,
pausing for your approval, then prints the project ID and connector email for you
to paste in.
Option B — Manual setup with gcloud
Run these commands yourself, replacingPROJECT_ID with your project:
1
Enable the required APIs
2
Create the connector service account
3
Let the connector manage your project
roles/iam.infrastructureAdmin lets the connector discover and manage
infrastructure (and enable additional APIs on demand). Scope it down later if
your team requires tighter permissions.4
Let Nuphos impersonate the connector
Grant the Nuphos platform service account the Service Account Token
Creator role on the connector — this is what allows impersonation:
zeabur-byos-connector@zeabur-system.iam.gserviceaccount.com is the Nuphos
platform identity. It is not a secret — it appears in every customer’s
policy. Use it exactly as shown.5
Enter the details into Nuphos
In the GCP binding dialog, enter:
- Service account email:
nuphos-connector@PROJECT_ID.iam.gserviceaccount.com - Project ID:
PROJECT_ID
In the Nuphos app
Once the project is connected, Nuphos discovers what’s in it and turns it into browsable surfaces:- Kubernetes clusters — your GKE clusters appear
with workloads, networking, config, storage, and RBAC. Open a pod terminal,
stream logs, and act on resources in bulk — no
kubeconfigwrangling. - Compute & access — Compute Engine instances with status and metrics, Cloud Run services and revisions, an SSH terminal to any VM, and port forwarding into private networks.
- Cloud resources — VPCs, firewall rules, and the networking picture around your compute.
What the agent can do for you
The agent uses the same access to investigate and operate on your behalf. Ask it things like:- “Why is the
checkoutdeployment on GKE crash-looping?” — it reads events, logs, and config across the cluster and walks you to the cause. - “Which firewall rule is blocking traffic to
api-internal?” — it traces services, firewall rules, and routes together. - “Scale the staging node pool down over the weekend” — it proposes a plan with steps and risk for you to approve, then executes it.
Permissions & authorization
Two boundaries govern what happens through this connector:- Hard boundary — who can use it. Only team Administrators can bind or remove the project, and they can restrict it to specific members with a member allow-list. Within a session the agent only holds credentials for projects you explicitly selected, and the allow-list is re-checked on every credential request.
- Soft boundary — what the agent may do with it. Reads run freely, but
changes go through plan approvals, and at the command
level Auto-authorization decides which
gcloud/kubectlcommands run unattended: read-only ones auto-run, irreversible ones always pause for a human, and your standing rules cover the middle.