> ## 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.

# Topsort

> Use Topsort to quickly turn your marketplace into a high-performing ad revenue engine with AI-driven, privacy-first infrastructure.

## Supported syncing

| Type | Description | Supported Sync Modes | API Reference |
| - | - | - | - |
| **Segments** | Sync data from any source to Topsort segments | Add, Remove | [Segments docs](https://docs.topsort.com/en/api-reference/segments-service) |

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

## Connect to Topsort

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

Enter the following fields into Hightouch:

* **API key**: To obtain your API key, refer to the Topsort [API documentation](https://docs.topsort.com/en/api-reference/authentication).

## Sync configuration

Once you've set up your Topsort 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 Topsort destination you want to sync to.

### Syncing segments

Sync data from any source to Topsort segments.

#### Record matching

To match rows from your model to segments in Topsort, you need to select the model column that contains values that match the **User ID** field.
Refer to the [record matching docs](https://docs.hightouch.com/syncs/record-matching.md) for more information.

## 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).
