To get you started using Vertex AI, this page guides you through how to create a Google Cloud project and enable the Vertex AI APIs. If you don't have the permissions to perform these tasks, ask an administrator to setup a project and enable Vertex AI for you. Also covered in this page is how to set up the Google Cloud CLI in your local development environment.
Set up a project
Follow these steps to set up a project:
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Vertex AI API.
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
Update and install
gcloud
components:gcloud components update
gcloud components install beta -
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Vertex AI API.
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
Update and install
gcloud
components:gcloud components update
gcloud components install beta
Ask an administrator to set up a Vertex AI project for you
This section describes how an administrator grants the roles needed to use Vertex AI.
- Determine a meaningful project name and project ID to identify your project. If you are part of an organization or plan to create multiple projects, consider what naming conventions and folder hierarchies are followed, or could be followed, to make project organization clear.
- Required roles:
- Access to most Vertex AI capabilities is granted by the
Vertex AI
User
(roles/aiplatform.user)
IAM role and should suffice for most Vertex AI users. For full control of Vertex AI resources, you can request the Vertex AI Administrator(roles/aiplatform.admin)
role. To explore the differences between these and other Vertex AI roles, see Vertex AI access control with IAM. - If you also intend to use
Vertex AI Workbench
instances in Google Cloud, ask your administrator to grant you the
Notebooks
Administrator
(roles/notebooks.admin)
IAM role for the project, as well as the Service Account User(roles/iam.serviceAccountUser)
IAM role on either the project or the Compute Engine default service account. - Additionally, to enable the necessary APIs, you either need the
Service
Usage Admin
(roles/serviceusage.serviceUsageAdmin)
IAM role or your administrator needs to enable the APIs for you by following the first few steps.
- Access to most Vertex AI capabilities is granted by the
Vertex AI
User
- Ask your administrator to enable Vertex AI APIs for you.
If you're granted the
Service
Usage Admin
(roles/serviceusage.serviceUsageAdmin)
IAM role, then you'll be able to do this on your own.
What's next
Read an overview of Vertex AI.
Walk through one of the tutorials for using Vertex AI.
Learn how to use the Vertex AI SDK for Python, which provides another way to interact with Vertex AI.