> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mock integrations

> If you need to test the business process flow but haven't completed all integrations, you can still do so by utilizing the mock integrations server included in the platform.

## Setup

To begin, configure the microservice's DB settings to use a Postgres DB. Then, deploy the mocked adapter microservice.

## Adding a new integration

Setting up a mocked integration requires only one step: adding a mock Kafka request and response.

You have two options for accomplishing this:

1. Add the information directly to the DB.
2. Use the provided [**API**](../../api/mocks/add-kafka-mock).

For each Kafka message exchange between the engine and the integration, you need to create a separate entry.

<Check>
  Check out the [**Add new exchange Kafka mock**](../../api/mocks/add-kafka-mock) API reference for more details.
</Check>

<Check>
  Check out the [**View all available Kafka exchanges**](../../api/mocks/view-kafka-exchanges) API reference for more details.
</Check>
