*This page
applies to **Apigee** and **Apigee hybrid**.*

This page shows you how to add a version to an API resource.

## Before you begin

Before you do the steps in this quickstart, you need to do the steps in [Register an API](https://docs.cloud.google.com/apigee/docs/apihub/quickstart-api.md.txt).

## Add a version

You can think of a version as the state of an API at a point in time. Fundamentally,
versions help you group and organize your APIs based on underlying sets of operations,
deployments, and other attributes.To learn more, see [Versions overview](https://docs.cloud.google.com/apigee/docs/apihub/versions-intro.md.txt).

To add a version to your API resource:

1. In the **APIs** page in API hub, locate and select the API resource you created in the previous quickstart to view its details page.
2. In the **API details** page, under the **Versions** section, click **Add Version** to display the *Add a new version* form.

   In the form:
   1. Enter a name. You can use any name you wish. The name will appear in the user interface. Name is a required field.
   2. Optionally, add a description and make other selections such as Lifecycle, Compliance, and Accreditation if you wish. Note that values for these system attribute settings can be customized in [Settings](https://docs.cloud.google.com/apigee/docs/apihub/manage-attributes.md.txt). The **Documentation** field lets you supply a link to external documentation for the version.
   3. Skip the remaining attributes, and click **Create**.

> [!NOTE]
> **Note:** You can also add deployments and API specifications to a version. For details, see [Introduction to deployments](https://docs.cloud.google.com/apigee/docs/apihub/deployments-intro.md.txt) and [Introduction to API specifications](https://docs.cloud.google.com/apigee/docs/apihub/specs-intro.md.txt).

You have created and linked a version to an API resource.

## View version details

After you create a version, you can view its details.

1. In the Google Cloud console, go to the **APIs** page in **API hub**.

   [Go to API hub](https://console.cloud.google.com/apigee/api-hub/apis)
2. Versions are linked to API resources, so find the API resource you'd like to inspect. If you don't see it, type the name of the API in the **Filter**.
3. Click the API name to view its details.
4. In the **Versions** section, locate and select the version you wish to inspect.
5. The version details page appears. To edit the version's attributes, click **Edit version**.

## Next step

[Create and edit attributes](https://docs.cloud.google.com/apigee/docs/apihub/quickstart-settings.md.txt)