# Combining Products

Authologic API allows you to combine multiple products together. That means that you can start with a single product and
expand your
integration later without the need of rebuilding everything from scratch.

Let's have a look on how we can combine multiple products together, by starting with the simple example of identity
checking, so from
using Authologic identity product ([learn more](/docs/products/identity)). By now you already know that we should
start by
creating a conversation. We can do that by using the following API call:

<note>

The Authologic API uses the `Basic Auth` based authentication described, among others, at
[here](https://en.wikipedia.org/wiki/Basic_access_authentication). Username and *API key* should be used as data.
By using the `curl` tool we use the `-u` option which is responsible for the use of `Basic Auth`.

</note>

```shell
curl -X POST -u my_login "https://sandbox.authologic.com/api/conversations" \
-H "Accept: application/vnd.authologic.v1.1+json" \
-H "Content-Type: application/vnd.authologic.v1.1+json" \
-d '{
    "userKey": "7dfb9ded-c38f-49ae-95e2-307283a0b1f6",
    "returnUrl": "https://id.sandbox.authologic.com/c/{conversationId}/thankYou",
    "callbackUrl": "your_callback_url_here",
    "query": {
      "identity": {
        "requireOneOf": [
          [ "PERSON_NAME_FIRSTNAME", "PERSON_NAME_LASTNAME"]
        ]
      }
    }
}'
```

In the highlighted lines of the above command you can see that we are using the `identity` product that Authologic
provides. We
can now add the second product, for example the AML one ([learn more](/docs/products/aml)). We do it by including
additional
section in the `query` part of the above command, for example:

```shell
curl -X POST -u my_login "https://sandbox.authologic.com/api/conversations" \
-H "accept: application/vnd.authologic.v1.1+json" \
-H "Content-Type: application/vnd.authologic.v1.1+json" \
-d '{
    "userKey": "7dfb9ded-c38f-49ae-95e2-307283a0b1f6",
    "returnUrl": "https://id.sandbox.authologic.com/c/{conversationId}/thankYou",
    "callbackUrl": "your_callback_url_here",
    "query": {
        "identity": {
            "requireOneOf": [
                [ "PERSON_NAME_FIRSTNAME", "PERSON_NAME_LASTNAME"]
            ]
        },
        "aml": {
            "checks": ["PEP", "SANCTIONS", "ADVERSE_MEDIA", "SIP", "OTHER"]
        }
    }
}'
```

You can now see that in addition to the `identity` product we've included the `aml` product. Each of them is configured
separately.

## Description of Sent Data

Currently, the `affordability` product cannot be combined with any existing products in a single conversation.
Each of them must be called in the separate conversations.

<note>

Despite our sincere intentions, it is difficult to create perfect technical documentation.
If you have an idea on how to improve this documentation, or you have trouble understanding any section,
please email us at [tech-support@authologic.com](mailto:tech-support@authologic.com)

</note>
