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

# Gainsight PX

> Powerful data analytics and product engagement platform

## Setup

Gainsight PX requires an API key. To find the API key, navigate to the [Gainsight PX Dashboard Settings](https://app.aptrinsic.com/settings/api-keys).

In the administrative settings, select the REST API page under the An API Key can be created on this page.

![The API key is in the REST API section of the dashboard](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-gainsightpx1.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=b277eeb21ba809f8124d5f4e7f0c562c)

If an API key has never been created, you can create one here by clicking the New API Key button.

## Syncing users and accounts

Hightouch supports syncing to the following Gainsight PX resources:

* Users
* Accounts

### Sync modes

This integration supports Upsert mode.

In the Upsert mode, new users or accounts will be inserted into Gainsight PX and all attributes will be kept up-to-date within Gainsight PX.

### Record matching

User records can be matched from your source to your Gainsight PX workspace by your Gainsight PX User Email in the Upsert mode.

Account records can be matched from your source to your Gainsight PX workspace by your Gainsight PX Account ID in the Upsert mode.

![](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-gainsightpx2.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=374ae7b7b138a7cebe5c433513543580)

### Tag keys

Gainsight PX requires a product to sync data to. These products can be accessed by finding the tag key of the product.

Navigating to [Gainsight PX Dashboard Products Page](https://app.aptrinsic.com/settings/products)

All your products can be found here.

![](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-gainsightpx4.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=23d421af3a64ff241d6bbcb242a23fef)

The tag key can be copied and entered into the Hightouch sync configuration.

![](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-gainsightpx5.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=cb3650d1d8467aaf842d11f5da7e5821)

### Field mapping

You can sync columns from your source to Gainsight's default and custom fields. Hightouch automatically detects existing custom fields from your Gainsight PX account.

![](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/destinations/destination-gainsightpx3.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=6b5c765dcb4324d7e42cea9da8be1e8f)

You can add custom attributes for users and accounts in your Gainsight PX account.

### Delete mode

You can choose what Hightouch's behavior is when records leave the query result set. The default is doing nothing, but you can also set Hightouch to delete the user or account data on record exit.

* `DELETE` : Remove a user or account record and delete the 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).
