Stay organized with collections
Save and categorize content based on your preferences.
Before you perform operations in Telecom Network Automation, you must set up a
Google Cloud project. To set up a project, complete the following steps.
Before you begin
Before continuing, ensure you have the following:
The latest version of the gcloud command line interface
(CLI) tool. Do either of the following:
Before you provision Telecom Network Automation, you must set up a Google Cloud project:
Set your default project:
gcloudconfigsetprojectPROJECT_NAME
Replace PROJECT_NAME with a name for your project.
In the default project, start the GKE compute
endpoints:
gcloudservicesenablecompute.googleapis.com
Assign the environment variables:
exportPROJECT_ID=$(gcloudconfigget-valueproject)exportPROJECT_NUM=$(gcloudprojectsdescribe$PROJECT_ID
--format="value(projectNumber)")exportLOCATION=ZONE# create a /workdir to clone all repositories
mkdir~/workdir
cd~/workdir
Replace ZONE with the zone closest to your location,
such as us-central1-a.
Assign IAM roles to users in your organization to grant
permission to your Google Cloud project:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Set up a project\n\nBefore you perform operations in Telecom Network Automation, you must set up a\nGoogle Cloud project. To set up a project, complete the following steps.\n\nBefore you begin\n----------------\n\nBefore continuing, ensure you have the following:\n\n- The latest version of the `gcloud` command line interface\n (CLI) tool. Do either of the following:\n\n - For full installation instructions, see [Install the gcloud CLI](/sdk/docs/install#linux).\n - Update your existing version using the following command:\n\n gcloud components update\n\n- Confirm you have version 1.25.8 of the `kubectl` CLI.\n\n | **Note:** Ensure you don't have the default `kubectl` version 1.26 or greater, as this version might not work with GDC clusters.\n- Have one or more GDC racks at target locations.\n\n - The software must run version 1.5.0. For more information, see [Installation requirements](/distributed-cloud/edge/latest/docs/requirements).\n\nSet up your Google Cloud project\n--------------------------------\n\nBefore you provision Telecom Network Automation, you must set up a Google Cloud project:\n\n1. Set your default project:\n\n gcloud config set project \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e with a name for your project.\n2. In the default project, start the GKE compute\n endpoints:\n\n gcloud services enable compute.googleapis.com\n\n3. Assign the environment variables:\n\n export PROJECT_ID=$(gcloud config get-value project)\n export PROJECT_NUM=$(gcloud projects describe $PROJECT_ID\n --format=\"value(projectNumber)\")\n export LOCATION=\u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e\n # create a /workdir to clone all repositories\n mkdir ~/workdir\n cd ~/workdir\n\n Replace \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e with the zone closest to your location,\n such as `us-central1-a`.\n4. Assign IAM roles to users in your organization to grant\n permission to your Google Cloud project:\n\n gcloud projects add-iam-policy-binding $PROJECT_ID\n --member='user:\u003cvar translate=\"no\"\u003eEMAIL\u003c/var\u003e' --role='\u003cvar translate=\"no\"\u003eROLE\u003c/var\u003e'\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eEMAIL\u003c/var\u003e: the email of the user to bind the role to.\n - \u003cvar translate=\"no\"\u003eROLE\u003c/var\u003e: the name of the role. For example, `roles/owner`. For a full list of Telecom Network Automation roles, see [Architecture and permissions](/telecom-network-automation/docs/permissions#roles-permissions).\n5. Enable Telecom Network Automation endpoints in the project:\n\n gcloud services enable telcoautomation.googleapis.com\n\n6. Set the default `gcloud` timeout:\n\n gcloud config set http_timeout 3600\n\n7. Resolve Telecom Network Automation deployments by granting the\n [Logs Viewer](/iam/docs/understanding-roles#logging-roles) role to the\n limited-access Telecom Network Automation monitoring group:\n\n gcloud projects add-iam-policy-binding $PROJECT_ID\n --member=group:cloud-gmec-tna-monitoring-team@twosync.google.com --role=roles/logging.viewer"]]