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

# Adding the x-yc-apigateway-integration:object_storage 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/object-storage.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.

        * Optionally, **Service account**: Service account for authorization when accessing Object Storage.
        * **Bucket**: [Bucket](../../../storage/concepts/bucket.md) name.
        * **Object name**: [Object](../../../storage/concepts/object.md) name.
        * Optionally, **Error object**: Object name to return if a 4xx HTTP error code is received instead of the specified object name.
    1. Click **Add**.

{% endlist %}

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

## Useful links {#see-also}

* [x-yc-apigateway-integration:object_storage extension](../../concepts/extensions/object-storage.md)