[Yandex Cloud documentation](../../../index.md) > [Yandex API Gateway](../../index.md) > [Step-by-step guides](../index.md) > [Specification constructor](index.md) > Cloud Functions

# Adding the x-yc-apigateway-integration:cloud_functions extension

{% list tabs %}

- Management console

    1. In the [management console](https://console.yandex.cloud), select the [folder](../../../resource-manager/concepts/resources-hierarchy.md#folder) in which you created or want to create an [API gateway](../../concepts/index.md).
    1. Navigate to **API Gateway**.
    1. Select an API gateway or click **Create API gateway** to create a new one.
    1. In the **Specification** field, click ![image](../../../_assets/api-gateway/spec-constructor/cloud-functions.svg).
    1. Specify the following:

        * **Path**: Integration relative path to add to the API Gateway URL. Remember to wrap variables in braces, e.g., `/static/{function_id}`. For more information, see the [OpenAPI 3.0](https://github.com/OAI/OpenAPI-Specification) specification.
        * **HTTP method**: Method to use to work with the integration.

        * **Service account** (optional): Service account for authorization when accessing the function. If you do not have a service account, [create](../../../iam/operations/sa/create.md) one.
        * **Function call format** (optional): Function request format version. The possible values are 0.1, 1.0, and 2.0. The default version is 0.1.
        * **Function**: [Function](../../../functions/concepts/function.md) name and function [version tag](../../../functions/concepts/function.md#tag).
    1. Optionally, paste or upload operation context, i.e., any object in YAML or JSON format.
    1. Click **Add**.

{% endlist %}

The **Specification** field will display the OpenAPI specification with the specified parameter values.

## See also {#see-also}

* [x-yc-apigateway-integration:cloud_functions extension](../../concepts/extensions/cloud-functions.md)