# tuna and WebAsk

## 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 handle events from WebAsk

Information about the structure of incoming requests can be found in the [official documentation](https://webask.io/help/webhooks).

## 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=webask-webhook

```

## Step 4. Create a new Webhook

Study the [instructions for adding a Webhook](https://webask.io/help/webhooks), as the "Callback URL" value, specify the address received from tuna (for example, `https://webask-webhook.ru.tuna.am`) and the path to your server's method for processing events (for example, `/event`).
