Skip to main content
Gainsight Inc.

SFDC Widget

This article describes admin steps to install a Salesforce package that embeds the Staircase AI Customer Account page within Salesforce using an iFrame, including steps for installation, widget placement, and user authentication.

This article guides you through the process of installing a Staircase AI Salesforce package from a URL. 

Overview

The Staircase AI Salesforce package enables you to iFrame the Staircase AI account page directly into Salesforce as a widget on Account records. This integration provides a unified view of account insights within Salesforce, eliminating the need to switch between applications.

Prerequisites

  • You must be a Salesforce admin with package installation permissions.
  • You must have an active Staircase AI account.
  • The user’s email addresses between Salesforce users and Staircase AI users must match.

Follow the below steps to embed the Staircase AI account page directly into Salesforce as a widget on Account records:

  1. Install the Staircase AI Salesforce Package
  2. Embed Staircase AI Account Page in Salesforce 
  3. Configure OAuth Policies 
  4. Grant Profile Access for the Staircase AI Widget

Install the Staircase AI Salesforce Package

To install the Staircase AI Salesforce package from a URL:

  1. Click this URL. If you are not logged in to your Salesforce organization, you are prompted to sign in. Enter your Salesforce username and password to continue. Gainsight recommends using integration login credentials. 
  2. In the Salesforce Package Installation page, review the package details.
  3. Select Install for All Users.
  4. Click Install
    Note
    • If the package requires additional permissions or access, you must grant them.
    • The installation may take a few minutes to complete.
      Install for all users and install optionYou can monitor the progress of the installation on the Package Installation page.

Embed Staircase AI Account Page in Salesforce 

To embed the Staircase AI account page inside Salesforce as a widget on Salesforce Account records: 

  1. Navigate to the account page where you want to display the widget.
  2. Click the Setup icon.
  3. Click Edit Page. The Lightning App Builder page appears.
    Edit Page option in Setup icon
  4. From the Components tab, locate the Visualforce component for the widget.
  5. Drag the Visualforce component onto the page. 
    Visualforce component in Components tab
  6. Configure the widget settings:
    • Visualforce Page Name: Staircase AI
    • Height: 500 (recommended)
      Visualforce page name and height option
  7. Click Save to keep the changes to the page and exit the Lightning App Builder.

Configure OAuth Policies

Users can view the widget data only after a Salesforce admin enables the Staircase Connected App to the Salesforce user profiles. To configure OAuth policies: 

  1. Navigate to the Setup page.
  2. From the left menu, navigate to Platform Tools > Apps > Connected Apps > Manage Connected Apps. Alternatively, type Manage Connected Apps in the Quick Find search box.
    Platform Tools option in the left menu
  3. Click the Edit link next to Staircase AI Widget
    Edit link next to Staircase AI Widget
  4. (Optional) Enter the details in the Basic Information section.
  5. In the OAuth Policies section, set the Permitted Users field to Admin approved users are pre-authorized.
    Set the Permitted Users field to Admin approved users are pre-authorized
  6. Click Save.

Grant Profile Access for the Staircase AI Widget

After configuring the OAuth policies, you must assign profile access to the Staircase AI widget. To grant access: 

  1. In the Manage Connected Apps page, click on the Staircase AI Widget link. The Staircase AI Widget details page appears.
    Manage Connected Apps page, with Staircase AI Widget link
  2. In the Profiles section click Manage Profiles. The Application Profile Assignment page appears. 
    Profiles section with Manage Profiles
  3. Select the Salesforce profiles that should have access to the widget’s data.
    Salesforce profiles that should have access to the widget’s data
  4. Click Save.

Upon successful installation the widget is displayed on the account page. 

The widget is displayed on the account page

IMPORTANT

  • Authentication works by matching the Salesforce user with a Staircase AI user.
  • The email address in Salesforce must match an active user account in Staircase AI.
  • The widget respects the same permissions the user has in Staircase AI.
  • Only accounts synced into Staircase AI displays data in the widget. 
  • Was this article helpful?