--- title: "Add Gainsight NXT Widgets to Salesforce Pages" slug: "add-gainsight-nxt-widgets-to-salesforce-pages" updated: 2026-11-23T12:31:50Z published: 2026-11-23T12:31:50Z canonical: "support.gainsight.com/add-gainsight-nxt-widgets-to-salesforce-pages" --- > ## 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. # Add Gainsight NXT Widgets to Salesforce Pages Gainsight NXT in Salesforce CRM This article supports Gainsight NXT, the next evolution of the Customer Success platform, accessing through Salesforce Login. New and upgraded customers are deployed on Gainsight NXT. To learn more about Gainsight NXT in Salesforce, click [here.](/v1/docs/introduction-to-gainsight-nxt-and-overview-on-onboarding#gainsight-nxt) If you have not upgraded and are using Gainsight Salesforce Edition, you can find supporting documentation [here.](https://docs.google.com/spreadsheets/d/19N7KJsD6ceHeDsFl4EG_aOXpiPEcPPJvcV7jjjDJkiA/edit#gid=0) Not sure what your team is using? Click here. This article explains how to add Gainsight NXT as a widget to the Account, Opportunity, and Case pages in Salesforce. For more information on the Team View overview and how viewer group can leverage this feature, refer to [*Team View Overview*](/v1/docs/team-view-overview). ## Prerequisite Before you add the Gainsight NXT widget, you must install the Gainsight Customer Success package and configure it in Salesforce. To see how to install and configure, see the [Install and Configure Gainsight Customer Success in Salesforce](/v1/docs/add-gainsight-nxt-widgets-to-salesforce-pages) article. ## Add Gainsight NXT Widget to Account page This section explains the process of adding the Gainsight widget to the Salesforce Account page. To add Gainsight NXT widget: 1. Navigate to **Setup > Build > Customize > Accounts > Page Layouts**. 2. Click **Edit** next to the Account Page Layout you wish to edit. **Account Layout** page appears. ![viewer_license_revision_edit_account_page_layout.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/viewer_license_revision_edit_account_page_layout.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=EjRHWm%2FTqo2ZbGWotO11Jlev0yHmxvF3rD6MbL6Cmgk%3D) 3. On the left side of the Account Layout editor, scroll down and click **Visualforce Pages**. 4. Drag **Section** and drop it down to the position, you would like for the Team View to be displayed on the Account page. **Section Properties** dialog appears. **Note:** Gainsight recommends adding the widget at or near the top of the Account page. ![viewer_license_revisions_drag_section_account_layout.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/viewer_license_revisions_drag_section_account_layout.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=4cDCXOE5R0NwwJ%2BZ6hL9j8L%2BaTLV2Ix%2BBBD0Hss3XbA%3D) 5. Select the following options for **Section Properties**: ![account layout.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/account_layout.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=nA%2Fu3jia821Es3c6815hmG%2B%2FHgDTt5tzrF1p23F6gw8%3D) 1. **Section Name:** Enter a name for the section (*here Account Widget*). 2. *(Optional)* **Display Section Header On:** Check the **Detail Page** and **Edit Page** checkboxes to display the section header on those pages. 3. **Layout:** Select the 1-Column option**.** 4. Click **OK**. 6. Highlight **Visualforce Pages** again in the Account Layout editor. 7. Drag **Gainsight Account Widget** and drop into the section that you have just added (*Named Account Widget in this example*). 8. Ensure that the width of Visualforce page for widget has a minimum of **1024 px** for the functionalities in the Gainsight widget work as expected. ![Account widget_1.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Account_widget_1.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=ZXybTcXjmq96vtjn8jSdhZLrbZmGb4gUWcSbG7ah%2Fnw%3D) 9. Click the **Properties** icon in the Gainsight Account Widget page. ![Properties Icon_Account Widget.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Properties_Icon_Account_Widget.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=2McVYvZA1WY0Kk90eetmBP%2BmuMJfWr9heri9nnL4zmM%3D) 10. Select the following options for **Visualforce Page Properties**: - **Width:** 100% - **Height:** 700 - **Show scrollbars:** *(Optional)* Check to display a scrollbar in the visualforce page. - **Show label:** *(Optional)* Check to display label of the visualforce page. 1. Click **OK**. 2. In the Account Layout Editor, click **Save**. ![Visualforce Page Properties.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Visualforce_Page_Properties.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=mDB2DNpKEaszULoEyTrSeV3BanM0OXhMozU%2BpkdxvVs%3D) ## Add Gainsight NXT Widget to Opportunity page This section explains you the process of adding the Gainsight NXT widget to the Salesforce Opportunity page. To add Gainsight NXT widget: 1. Navigate to **Setup > Build > Customize > Opportunities > Page Layouts.** 2. Click **Edit** next to the Opportunity Page Layout you wish to edit. **Opportunity Layout** page appears. ![Wid_oppo.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Wid_oppo.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=%2FFJftvF%2BFlYk7dPhHWxMtPV1dJcvGcGYe7gex5%2FwR1s%3D) 3. On the left side of the Opportunity Layout editor, scroll down and click on **Visualforce Pages**. 4. Drag **Section** and drop it down to the position you would like for the widget to be displayed on the Opportunity page. **Section Properties** dialog appears. **Note:** Gainsight recommends adding the widget at or near the top of the Opportunity page. ![viewer_license_revisions_drag_section_opportunity_page_layout.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/viewer_license_revisions_drag_section_opportunity_page_layout.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=wcYaxJ%2BDpkkA4TJQP6P%2Fju6%2BIBg2kz3hujMID4F2KSQ%3D) 5. Select the following options for **Section Properties**: ![Opportunity_widget.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Opportunity_widget.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=wNK193IUfBeEBgzuqpzpSExFOfR%2F5hKv5%2BGERxuCwns%3D) 1. **Section Name:** Enter a name for the section. (*Here* *Opportunity Widget*) 2. *(Optional)* **Display Section Header On:** Check the **Detail Page** and **Edit Page** checkboxes to display the section header on those pages. 3. **Layout:** Select the 1-Column option**.** 4. Click **OK**. 6. Highlight **Visualforce Pages** again in the Opportunity Layout editor. 7. Drag **Gainsight Opportunity Widget** and drop into the section that you have just added (*Named Opportunity Widget in this example*). 8. Ensure that the width of Visualforce page for widget has a minimum of **1024 px** for the functionalities in the Gainsight widget work as expected. ![Opportunity _11.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Opportunity__11.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=wj3RENpcbZ2a3maMkhhN41D5WI6LlJCVe6w7YSuWaTs%3D) 9. In the new section, click the **Properties** icon. **Visualforce Page Properties** dialog appears. 10. Select the following options for **Visualforce Page Properties**: - **Width:** 100% - **Height:** 700 - **Show scrollbars:** *(Optional)* Check to display a scrollbar in the visualforce page. - **Show label:** *(Optional)* Check to display label of the visualforce page. 11. Click **OK.** 12. In the Opportunity Layout Editor, click **Save.** ![Visualforce Page Properties.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Visualforce_Page_Properties.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=mDB2DNpKEaszULoEyTrSeV3BanM0OXhMozU%2BpkdxvVs%3D) ## Add Gainsight NXT Widget to Case page This section explains how the process of adding the Gainsight NXT widget to the Salesforce Case page. To add Gainsight NXT widget: 1. Navigate to **Setup > Build > Customize > Cases > Page Layouts.** 2. Click **Edit** next to the Opportunity Page Layout you wish to edit. **Case Layout** page appears. ![Case page layout.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Case_page_layout.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=ar88OZJY5RprXZgleZH6qqsLBMFN%2BwytQF4oyKiHZNk%3D) 3. On the left side of the Case Layout editor, scroll down and click on **Visualforce Pages**. 4. Drag **Section** drop it down to the position, you would like for the Team View to be displayed on the Case page. **Section Properties** dialog appears. **Note:** Gainsight recommends adding the widget at or near the top of the Case page. ![Case widget section.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Case_widget_section.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=x%2FdcXjJGzogidCwTrDNRTyx9InlfoxgLxqYqoFs5BJk%3D) 5. Select the following options for **Section Properties**: ![Case section.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Case_section.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=jBYxymbRl9M7jUJsCDx%2F7GVYK%2BeVffI96Dm2eSarcig%3D) 1. **Section Name:** Enter a name for the section *(here Case widget)*. 2. *(Optional)* **Display Section Header On:** Check the **Detail Page** and **Edit Page** checkboxes to display the section header on those pages. 3. **Layout:** Select the 1-Column option**.** 4. Click **OK.** 6. Highlight **Visualforce Pages** again in the Case Layout editor. 7. Drag **Gainsight Case Widget** and drop into the section that you have just added (*Named Case Widget in this example*). 8. Ensure that the width of Visualforce page for widget has a minimum of **1024 px** for the functionalities in the Gainsight widget work as expected. ![Case widget section.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Case_widget_section.gif?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=x%2FdcXjJGzogidCwTrDNRTyx9InlfoxgLxqYqoFs5BJk%3D) 9. In the new section, click the **Properties** icon. **Visualforce Page Properties** dialog appears. 10. Select the following options for **Visualforce Page Properties**: - **Width:** 100% - **Height:** 700 - **Show scrollbars:** (Optional) Check to display a scrollbar in the visualforce page. - **Show label:** (Optional) Check to display label of the visualforce page. 1. Click **OK.** 2. In the Case Layout Editor, click **Save**. ![Visualforce Page Properties.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Visualforce_Page_Properties.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A01%3A48Z&se=2026-11-24T20%3A01%3A48Z&sr=b&sp=r&sig=mDB2DNpKEaszULoEyTrSeV3BanM0OXhMozU%2BpkdxvVs%3D) ## Add Gainsight NXT Widget in Salesforce Lightning Experience This section explains, for Salesforce Admins, the process of adding the Gainsight NXT widget to Salesforce pages (Account, Opportunity, Case) in the Salesforce Lightning mode. To add the Gainsight NXT widget: 1. Navigate to any Account, Opportunity, or Case page to add the Gainsight NXT widget to all of the Account, Opportunity, and Case pages respectively. 2. Click **Edit Page** from the **Setup** menu in the Salesforce Global header. The specific Account, Opportunity, Case page opens in edit mode. 3. Drag and drop the **Visualforce** component from the left pane to any location on the page. 4. Setup the following configurations of the widget from the right pane: 1. Assign a Label to the widget (Ex: Gainsight) 2. Select the required Visualforce Page from the dropdown, **Gainsight Account Widget**, **Gainsight Opportunity Widget**, **Gainsight Case Widget** for the respective Salesforce page. 3. Set the Height to **700.** 4. Ensure that the width of Visualforce page for widget has a minimum of **1024 px** for the functionalities in the Gainsight widget work as expected. 5. *(Optional)* Move the Gainsight widget to the required location in the page using the **Move component** icon. 6. Click **Save**. The Gainsight Account widget is added to all of the Account pages. Similarly, you can apply **Gainsight Opportunity Widget** and **Gainsight Case Widget** to the Salesforce Opportunity and Case pages respectively. [Embedded content](https://player.vimeo.com/video/433649100) ## Permissions for Viewer Group in Gainsight NXT In the previous sections, Account or Opportunity Layout has been modified to include the Gainsight Team View, users who have been assigned a Gainsight Viewer License and have been given the appropriate permissions will be able to see the data. To learn more about this process, refer to [Permissions for Viewer Group in Gainsight NXT](/v1/docs/permissions-for-viewer-group-in-gainsight-nxt).