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

# Awin

> Empower advertisers and publishers with Awin's affiliate marketing platform to grow their businesses online.

## Supported syncing

| Type | Description | Supported Sync Modes | API Reference |
| - | - | - | - |
| **Orders** | Sync data from any source to Awin orders | Insert | [Orders docs](https://developer.awin.com/apidocs/conversion-api) |

For more information about sync modes, refer to the [sync modes](https://docs.hightouch.com/syncs/types-and-modes.md#sync-modes) docs.

## Required Permissions

Your AWIN account should have `Full Access` or `Admin` level [permissions](https://success.awin.com/s/article/how-can-i-manage-user-permissions?language=en_US) to use the Conversion API to manage orders. If you don't have either of these permission levels, contact your Organization Administrator to request access.

## Connect to Awin

Go to the [**Destinations** overview page](https://app.hightouch.com/destinations?from=docs) and click the **Add destination** button. Select **Awin** and click **Continue**. You can then authenticate Hightouch to **Awin**.

Enter the following fields into Hightouch:

* **OAuth 2.0 Token**: Find your OAuth 2.0 Token under API Credentials in the User dropdown.
* **Advertiser Id**: Find your Advertiser Id on the Overview page for your Profile.

## Sync configuration

Once you've set up your Awin destination and have a [model](https://docs.hightouch.com/getting-started/concepts.md#models) to pull data from, you can set up your sync configuration to begin syncing data. Go to the [**Syncs** overview page](https://app.hightouch.com/syncs?from=docs) and click the **Add sync** button to begin. Then, select the relevant model and the Awin destination you want to sync to.

### Syncing orders

Sync data from any source to Awin orders.

> [!WARNING]
>
> To ensure syncs send each event, your event model must use a truly unique [primary key](https://docs.hightouch.com/getting-started/concepts.md#unique-primary-key-requirement). See the [events syncs](https://docs.hightouch.com/syncs/types-and-modes.md#event-syncs) documentation for more information.

#### Field mapping

Hightouch lets you sync order properties via field mapping.

## Tips and troubleshooting

To see the exact API requests and responses from each sync run, use the [live debugger](https://docs.hightouch.com/syncs/debugger.md). To get notified by Slack, PagerDuty, SMS, or email when a sync fails, set up [sync alerts](https://docs.hightouch.com/syncs/alerting.md). If you run into an issue this page doesn't cover, [contact support](#pylon-chat).
