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

# EnjoyHQ

> Sync data from your warehouse to EnjoyHQ to consolidate all customer feedback and research data into a single platform, providing you with better insights for informed decision-making and enhancing customer experiences

## Supported syncing

| Type | Description | Supported Sync Modes | API Reference |
| - | - | - | - |
| **Documents** | Sync data from any source to the Documents object | Upsert | [Documents docs](https://developers.enjoyhq.com/reference/document-import) |
| **Users** | Sync data from any source to the Users object | Upsert | [Users docs](https://developers.enjoyhq.com/reference/user-import) |

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 EnjoyHQ

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

To retrieve an API key in EnjoyHQ, go to [Manage integrations](https://app.enjoyhq.com/account/integrations) and select the API card in the **Other** section.

![EnjoyHQ API Keys](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-enjoy-hq-api-key.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=e9a5faa5e9675fa5c21774b7939444ca)

You can then use an existing API key or generate a new one by clicking on the **Add New API Key** button.

## Sync configuration

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

### Syncing documents

Create and update documents.

#### Record matching

To match rows from your model to documents in EnjoyHQ, you need to select the model column that contains values that match the [**Foreign ID** field](https://developers.enjoyhq.com/reference/document-import#updating-documents).

#### Field mapping

You can map data from any of your model columns to fields in EnjoyHQ. EnjoyHQ requires the following fields, so you must map them in order to complete your configuration:

* **Content**
* **Source**

Ensure the data types of your model columns match the data types of the fields you want to sync to.

### Syncing users

Create and update users.

#### Record matching

To match rows from your model to users in EnjoyHQ, you need to select the model column that contains values that match the **Email** field.

#### Field mapping

You can sync columns from your model to EnjoyHQ default and custom fields. If you send data for a custom field that doesn't exist, Hightouch adds the field and automatically detects its type.

#### Delete behavior

The [delete behavior](https://docs.hightouch.com/syncs/overview.md#delete-behavior) you select dictates what to do when a row no longer appears in your model's query results. You have the following options:

| Behavior | Description |
| - | - |
| **Do nothing** | Keep the record in EnjoyHQ with all its synced fields |
| **Delete** | Delete the synced record from your EnjoyHQ user |

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