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

# Adding the x-yc-apigateway-integration:http extension for integration with Yandex Workflows

{% 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](../api-gw-create.md) a new one.
  1. In the **Specification** field, click ![image](../../../_assets/api-gateway/spec-constructor/workflows.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**: Service account with the `serverless.workflows.executor` role to [run a workflow](../../../serverless-integrations/concepts/workflows/execution.md). If you do not have a service account, [create](../../../iam/operations/sa/create.md) one.
      * **Workflow**: [Workflow](../../../serverless-integrations/concepts/workflows/workflow.md) name.

  1. Click **Add**.

{% endlist %}

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

## Requirements to the structure of an incoming request {#requirements}

For the API gateway to correctly process incoming requests, set the `Content-Type: application/json` header.