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

# Adding the x-yc-apigateway-integration:swagger 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 ![swagger](../../../_assets/api-gateway/spec-constructor/swagger.svg) and do the following in the window that opens:

        1. In the **Path** field, specify the relative path to the integration you want to add to the API Gateway URL. Remember to wrap variables in braces, e.g., `/docs/{document_id}`. For more information, see the [OpenAPI 3.0](https://github.com/OAI/OpenAPI-Specification) specification.
        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:swagger extension](../../concepts/extensions/swagger.md)