LogoLogo
  • ABOUT
    • πŸ‘‹Introduction
    • πŸ”Safety & Security
    • ♾️CI/CD
    • 🏁Start Here
      • What to Expect
      • Setup Checklist
      • Understanding Operation Modes
  • Get Started
    • Autonomous Cloud Management
      • Connect AWS account
      • Connect Azure account
      • Connect GCP account
      • Connect Kubernetes cluster
        • πŸ€–Sedai Smart Agent
        • EKS Agentless Setup
        • AKS Agentless Setup
        • GKE Agentless Setup
      • Connect Monitoring Data
    • Augmented FinOps
      • Connect AWS Billing Account
      • Connect Azure Billing Account
  • Platform
    • βš™οΈSettings
      • Features
        • Optimization
        • Availability
        • Tag Configuration
      • Groups
      • Schedules
    • πŸ”„Optimization
      • AWS
        • Lambda
        • ECS
        • EC2
        • Storage
      • Kubernetes
      • Azure
        • Azure VMs
      • GCP
        • Dataflow
    • πŸ’‘Release Intelligence
    • πŸ‘οΈActivity
    • 🎯Service Level Objectives
    • 🌐Integrations
      • πŸ–₯️Infrastructure as Code (IaC)
        • Resource to IaC File Mapping
      • πŸ””Notifications
      • 🎫Ticketing & Service Management
    • πŸ”‘Single Sign-On / RBAC
  • Help
    • ❓Technical FAQ
    • Contact support@sedai.io
    • Schedule onboarding call
Powered by GitBook
On this page
  • How to connect Dataflow jobs
  • Service Account Setup

Was this helpful?

  1. Get Started
  2. Autonomous Cloud Management

Connect GCP account

Connect your Google Cloud Platform account to Sedai to enable AI-driven, autonomous cloud management. Follow our guide for seamless configuration.

Last updated 6 months ago

Was this helpful?

Sedai currently supports the following GCP cloud resources:

  • Dataflow BETA

  • Google Kubernetes Engine (GKE)

Sedai individually connects to Kubernetes clusters, so GKE clusters are displayed independent of their corresponding GCP account. To connect your GKE workloads, we recommend deploying within your cluster, but you can also setup with .


How to connect Dataflow jobs

To connect your GCP account, log in to Sedai and navigate to Settings > Integrations. In the upper righthand corner, select the Add Integration button and select Cloud Provider from the side drawer.

Since you can add multiple GCP accounts to Sedai, you will be asked to give your integration a unique nickname β€” this helps you easily identify resources within Sedai.

You will need to provide the Project ID and Region (found in the home page of your GCP console) as well as create a new service account and provide its JSON.

Once completed click save and you will be prompted to integrate Google Monitoring (by default, Sedai maps but you can optionally customize these). Enter the same Project ID and service account JSON from the previous step and click save.

Service Account Setup

From your GCP console click IAM & Admin, then select Service Accounts in the left-hand menu and click Create Service Account. Enter details and click continue.

Add the following roles to grant access:

Role
Purpose

Dataflow Viewer (roles/dataflow.viewer)

Compute Viewer (roles/compute.viewer)

Monitoring Viewer (roles/monitoring.viewer)

Once saved, navigate to the Keys section of the new service account and click the Add key dropdown to create a new key. Select JSON key as the type and create.

Replace SA_NAME and PROJECT_ID in the following prompts based on your service account name and GCP project.

Create new service account:

gcloud iam service-accounts create sedai-sa-dataflow-work --description "Service Account for Sedai Dataflow Integration" --display-name "sedai-sa-dataflow-work"

Set permissions (view on the required roles)

gcloud projects add-iam-policy-binding [PROJECT_ID] \
  --member "serviceAccount:[SA_NAME]@[PROJECT_ID].iam.gserviceaccount.com" \
  --role roles/dataflow.viewer \
  --role roles/monitoring.viewer \
  --role roles/storage.objectViewer

Create and download key:

gcloud iam service-accounts keys create [NEW_KEY_FILE_NAME].json \
  --iam-account [SA_NAME]@[PROJECT_ID].iam.gserviceaccount.com

Lists all Dataflow jobs ()

Lists all compute instances & regions ()

Grants access to Cloud Monitoring metrics ()

learn more
learn more
learn more
Sedai's Smart Agent
agentless access
details
labels