# tuna and CloudPayments

## Step 1. Download the client

Instructions are available on the [installation page](https://tuna.am/en/docs/guides/install.md).

## Step 2. Run a server to process HTTP notifications

Information about incoming CloudPayments notifications can be found in the [official documentation](https://developers.cloudpayments.ru/#uvedomleniya).

## Step 3. Run tuna

Specify your server port in the startup arguments:

```bash
tuna http 8080

```

Or with a static address:

```bash
tuna http 8080 --subdomain=billing

```

## Step 4. Specify the address for incoming notifications

From the [sites](https://merchant.cloudpayments.ru/next/sites) section, go to the site you need, then in the Notifications section, you need to set addresses for receiving notifications: ![cloudpayments](/en/assets/images/cloudpayments1-582a3da86daff4c1122f63df3017faf5.png) Each URL consists of the address received from tuna (for example, `https://billing.ru.tuna.am`) and the path to your server's method for processing events (for example, `/payments/pay`).

After all settings, you can use [test payment methods](https://developers.cloudpayments.ru/#testirovanie) to debug the interaction.
