Enable the service

To model, deploy, and manage multitenant SaaS offerings with App Lifecycle Manager, you must enable the App Lifecycle Manager API (saasservicemgmt.googleapis.com) and required Google Cloud APIs. You can enable these APIs in the Google Cloud console or by using the Google Cloud CLI before creating App Lifecycle Manager resources.

Enabling service

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  2. Verify that billing is enabled for your Google Cloud project.

  3. Install and initialize the gcloud CLI if it isn't already installed. For an existing installation, update components of the gcloud CLI by running the following command: gcloud components update.

    To check your version of the gcloud CLI, run the command:

    gcloud version
  4. Enable the API from the Google Cloud console or by using gcloud CLI:
    1. In the Google Cloud console, to enable the required APIs, on the Get started tab of the Overview page, click Enable App Lifecycle Manager APIs.
    2. Using gcloud CLI, to enable the required APIs, run the command:

            gcloud services enable saasservicemgmt.googleapis.com
            gcloud services enable artifactregistry.googleapis.com
            gcloud services enable cloudbuild.googleapis.com
            gcloud services enable storage.googleapis.com
            gcloud services enable developerconnect.googleapis.com
            gcloud services enable config.googleapis.com
            gcloud services enable designcenter.googleapis.com
            gcloud services enable apphub.googleapis.com
            gcloud services enable cloudresourcemanager.googleapis.com
            gcloud services enable iam.googleapis.com
            gcloud services enable cloudasset.googleapis.com
            gcloud services enable monitoring.googleapis.com
            gcloud services enable logging.googleapis.com
            gcloud services enable servicehealth.googleapis.com
            

      You need to enable all of these APIs because the services are used by App Lifecycle Manager.

  5. To use App Lifecycle Manager, you also need the correct permissions. See Access control with IAM for more details.

What's next