App Lifecycle Manager lets you create a SaaS offering to define the target regions
where you deploy and manage your SaaS application and infrastructure. After
setting up the offering, you can design its unit kinds, package blueprints, and
provision units across those regions.

## Before you begin

1. Ensure you have [Enabled App Lifecycle Manager](https://docs.cloud.google.com/app-lifecycle-manager/enable-service.md.txt).
2. Identify the resources and SaaS application to deploy. For more details about the required artifacts, see [Blueprints in App Lifecycle Manager](https://docs.cloud.google.com/app-lifecycle-manager/artifacts).
3. Ensure you set up the required [service accounts](https://docs.cloud.google.com/app-lifecycle-manager/service-accounts.md.txt).

## Create a SaaS offering

### Console

1. In the console, go to **App Lifecycle Manager** \> **SaaS offering**.

   [Go to SaaS offering](https://console.cloud.google.com/saas/saasOfferings)
2. Click **Create**.

3. In the **Name of the SaaS offering** field, type a name for the
   SaaS offering.

4. In the **Region** field:

   1. Select all of the regions where you want to host the deployments of your SaaS offering. See [locations](https://docs.cloud.google.com/app-lifecycle-manager/locations.md.txt) for the full list of available regions.
   2. Click **Ok**.
5. Optional: In **Labels** , you can add labels to the SaaS offering resource.
   For more details about labels, see the
   [Labels overview](https://docs.cloud.google.com/resource-manager/docs/labels-overview.md.txt).

   To add a label:
   1. Under **Labels** select **Add labels**.

   2. For **Key 1** and for **Value 1**, enter the chosen
      key-value pair.

   3. Repeat the steps for each label that you want to add.

6. Click **Create** to create the SaaS offering.

The regions that you selected for the SaaS offering are where App Lifecycle Manager
deploys the SaaS offering, meaning that this is where the resources are
provisioned and the application is deployed.

If you have end-users accessing the deployed SaaS offering, they access
it from the regions you specify here.

### gcloud

    gcloud app-lifecycle-manager saas create SAAS_OFFERING_NAME --location=global --locations=name=REGION_1 --locations=name=REGION_2

Replace the following:

- <var translate="no">SAAS_OFFERING_NAME</var>: a name for the SaaS offering.
- <var translate="no">REGION_1</var>: a region where you want to host the deployments of the SaaS offering. For available regions, see [App Lifecycle Manager locations](https://docs.cloud.google.com/app-lifecycle-manager/locations.md.txt).
- <var translate="no">REGION_2</var>: optionally, a second region to host the deployments. If you want to host the deployments in more than one region, follow this pattern to add each region to the command.

The regions that you selected for the SaaS offering are where App Lifecycle Manager
deploys the SaaS offering, meaning that this is where the resources are
provisioned and the application is deployed.

If you have end-users accessing the deployed SaaS offering, they access
it from the regions you specify here.

## What's next

- Next you need to [design and package units of deployment](https://docs.cloud.google.com/app-lifecycle-manager/design-saas-offering.md.txt).
- After you design the units of deployment, you can [deploy a unit](https://docs.cloud.google.com/app-lifecycle-manager/deploy-saas-offering.md.txt).
- To learn more about App Lifecycle Manager, see the [App Lifecycle Manager overview](https://docs.cloud.google.com/app-lifecycle-manager/overview.md.txt).
- For more details about the service accounts needed when using App Lifecycle Manager, see [service accounts](https://docs.cloud.google.com/app-lifecycle-manager/service-accounts.md.txt).