--- title: "Gainsight EventStream Connector" slug: "gainsight-eventstream-connector" updated: 2026-11-23T12:31:12Z published: 2026-11-23T12:31:12Z canonical: "support.gainsight.com/gainsight-eventstream-connector" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Gainsight EventStream Connector This article explains how to create a Gainsight EventStream connection and map event-based fields. This article explains how to create a Gainsight EventStream connection and map event-based fields. ## Overview The Gainsight EventStream connector enables external systems, such as SAP Sales Cloud or HubSpot, to push event-based data into Gainsight in real time. Unlike traditional connectors that pull data from external systems, this connector supports real-time, event-driven integration. **Key Capabilities** - **Event-Driven Integration**: Enables external platforms to send event payloads (for example, record creation, updates, or changes) to Gainsight. - **Custom Event Templates**: Supports defining and managing custom event types and mappings. - **Multi-Object Upsert**: Allows a single event to upsert data into multiple Gainsight objects simultaneously. **Supported Destination Objects** The Gainsight EventStream connector supports the following target objects in Gainsight: - Company - Person - Company Person - Low-volume custom objects - Opportunity **Note**: Admins must ensure the SSO is active to use EventStream Connector. ## Create a Connection The first step to configure the Gainsight EventStream connector is to generate OAuth credentials. To generate the credentials: 1. Navigate to **Administration > Connectors 2.0 > Connections**. 2. Click **Create Connection**. The Create Connection dialog appears. 3. From the **Connector** dropdown list, select Gainsight EventStream Connector. 4. In the **Name of the connection** field, enter a name for the connection. 5. Click **Generate OAuth Credentials**. This auto-populates all the required credential fields. ![Create Gainsight EventStream Connector with OAuth API credentials and connection details form.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Gainsight_EventStream_Connector.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=s%2FYGD3fVWFyLdLYJd2qN7N4mUFDXN4fy%2FhZocmITW8Q%3D) After credentials are generated, you must copy them from Gainsight and configure them in the source system’s webhook or workflow setup. This setup ensures that the source system can authenticate using OAuth, generate an access token, and push event data (in JSON format) to Gainsight’s Event URL in real time. ### Context Menu To view the context menu for any connector, click the *three vertical dots* icon to view the following options: - **Edit Connection**: Modify the Gainsight EventStream connection details. - **Delete Connection**: Delete the connection permanently. ## Manage Events After the configuration in the source system is completed, you can manage events from the Connectors page in Gainsight. To manage events: 1. Click **Manage Events**. The Manage Events page appears. 2. From **Add Event Mapping**, select either of the following options: - **Use Template**: Use pre-built templates for mapping. - **Create Custom**: Define a custom event mapping based on a unique key-value pair present in the event payload emitted by the source system. In the JSON payload, there is typically one key that uniquely identifies the event type. Gainsight expects admins to specify that key and its corresponding value to help the system identify which mapping to apply when events are received. ![Event management screen showing no existing mappings with option to add event mapping.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Event_Mappiings.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=3EB2Bv018BGksZ8poMK7RrCpbV64ajQgHZJjo57luLc%3D) ### Pre-Built Templates You can use the out-of-the-box templates to auto-map the event types to Gainsight fields. To use the pre-built templates: 1. From **Add Event Mapping**, select Use Templates. The Event Mapping Template slide-out panel appears. 2. From the **Select External Event System** dropdown, select the available template. A list of all available event types appears. 3. Select the **Event Types**. 4. Click **Save**. ![Event mapping template showing SAP Sales Cloud events list with auto-mapping options.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Pre-built_Event_Mapping.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=wNEChRjPVt2Y%2Bdl1A9%2B1jYHKkzMUbv2%2BX3b5Ra7g2Ck%3D) The list of mapped events starts appearing once the template is saved. You can now edit the already-mapped fields to more Gainsight objects if required. ![Manage events page showing mapped SAP Sales Cloud events linked to Gainsight objects.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/List_of_Mapped_Events.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=d7mpYBcUfu5Wr4oMcZB5ZB%2BcvXX9ZySTOCvGPzP1cG8%3D) ### Custom Templates You can build custom templates to map the event types to Gainsight fields. To add the custom templates: 1. From **Add Event Mapping**, select Create Custom. The Create Custom Event Mapping dialog appears. 2. In the **Event Key** field, enter the key from your event payload that uniquely identifies the type of event. Use dot notation (for example, event.type) if the key is nested. 3. In the **Event Type** field, enter the value to match incoming events against the key you defined above. For example: AccountCreated, ContactCreated, or EmailDeleted. 4. Click **Create Mapping**. ![Create custom event mapping window with fields for event key and event type setup.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Create_Custom_Template.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=%2BgQsl29r%2BRPa0NxVZHRoNx%2B3I%2F9k0WXWgvGpmTcWwMI%3D) Once the event type is created, the next step is to map the fields. Edit the event type to map the fields to Gainsight objects. ![Manage events page showing unmapped custom event with option to edit or delete mapping.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Not_Mapped.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=IH1Uygmq%2BqVoNE5Zw9AREXMAm3Q2U5RnJUVA6kaPadU%3D) #### Add Fields to Map Events The **Edit Mapping** slide-out panel helps you add the fields to map to the Gainsight object. To add the fields: 1. In the **Edit Mapping** slide-out panel, click **Add Fields**. ![Edit mapping screen showing no mapped fields with option to add a new field.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Add_Fields.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=AyjikKytwpih1%2B8WTQPuX%2FVhmPL%2FM9WHek0gsc4gw%2BY%3D) 2. From the **Gainsight Object** dropdown, select the target object. **Note**: You can select multiple objects to map. 3. Click **+ Add Field** 4. In **Source Fields**, enter the field from the source to be mapped. 5. From the **Target Fields** dropdown, select the field to be mapped. **Note**: It is mandatory to select an Identifier from the list of fields added. 6. Click **Save**. The event fields are now mapped to the Gainsight fields. ![Manage events page showing updated custom event mapped to Active Object in Gainsight.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Custom_Mapped_Fields.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A30%3A58Z&se=2026-11-24T19%3A30%3A58Z&sr=b&sp=r&sig=Jx0wRJBU2AE9HlDLq0pp3adYn8X6QYzPUiRhqJWYz1I%3D)