--- title: "SFDC Widget" slug: "sfdc-widget" updated: 2026-11-23T12:32:43Z published: 2026-11-23T12:32:43Z canonical: "support.gainsight.com/sfdc-widget" --- > ## 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. # SFDC Widget This article guides admins 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 steps below to iFrame the Staircase AI account page directly into Salesforce as a widget on Account records: 1. [Install the Staircase AI Salesforce Package](/v1/docs/sfdc-widget#install-the-staircase-ai-salesforce-package) 2. [Configure OAuth Policies](/v1/docs/sfdc-widget#configure-oauth-policies) 3. [Grant Profile Access for the Staircase AI Widget](/v1/docs/sfdc-widget#grant-profile-access-for-the-staircase-ai-widget) 4. [Embed Staircase AI Account Page in Salesforce](/v1/docs/sfdc-widget#embed-staircase-ai-account-page-in-salesforce) ## Install the Staircase AI Salesforce Package To install the Staircase AI Salesforce package from a URL: 1. Click [*this*](https://appexchange.salesforce.com/appxListingDetail?listingId=a4d2f94d-d168-4c53-bbbd-7eeef5331696) 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. - Installation may take a few minutes. Monitor progress from the Package Installation page. ![Install for all users and install option](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Install_for_all_users_and_install_option_.png?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=BUTVZo%2F%2Fycq5pOTFq1iYXpmd%2FGK5qKbmkYJxEDZ8tXk%3D) You can monitor the progress of the installation on the Package Installation page. ## 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, search for **Manage Connected Apps** in **Quick Find**. ![Platform Tools option in the left menu](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Platform_Tools_option_in_the_left_menu.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=F%2BQ%2FgZbSaY7Hg4IiYe1Cm0fuVz9LXoPf8lKxh%2FJV4xg%3D) 3. Click **Edit** next to **Staircase AI Widget**. ![Edit link next to Staircase AI Widget](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Edit_link_next_to_Staircase_AI_Widget.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=JRF9NwOHg0Ioy6PUOyKfQY5mnw2FAzjcxqNSHaZfxfo%3D) 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Set_the_Permitted_Users_field_to_Admin_approved_users_are_pre-authorized..jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=CM%2FmQikUTIgBpkT6YtIciYkZnOgB4EuHeOPE17pC2UM%3D) 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Manage_Connected_Apps_page,_click_on_the_Staircase_AI_Widget_link.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=9VS%2B9PmZb2B%2B0y7EFUufjPgR9iosb3g11YXo1bC2JN8%3D) 2. In the **Profiles** section, click **Manage Profiles**. The **Application Profile Assignment** page appears. ![Profiles section with Manage Profiles](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Profiles_section_with_Manage_Profiles.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=8Cber1cqEf27N9Xx%2BAFFYkC8yg1XE842Zeh3E83NQD4%3D) 3. Select the Salesforce profiles that require access to the widget’s data. ![Salesforce profiles that should have access to the widget’s data](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Salesforce_profiles_that_should_have_access_to_the_widget%E2%80%99s_data.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=EbkNnM7RIrssRkBBJl7Iy51i9272HI9pEVG5JpxBsQk%3D) 4. Click **Save**. ## 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Edit_Page_option_in_Setup_icon.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=%2BYR%2FkahOuuw99KKjgLl7W7N0rBj60zhK7xoQ%2BoDjVvM%3D) 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Visualforce_component_in_Components_tab.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=AWOz4LllX9ZPJkeiiCAxoMzG2rmi2O6pb17Xdeuqz7w%3D) 6. Configure the widget settings: - **Visualforce Page Name**: Staircase AI - **Height**: 500 (recommended) ![Visualforce page name and height option](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Visualforce_page_name_and_height_option.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=uvHuhwHxEQZZJgMXZG%2FBkBa1MDBeu1MSETaIZj8x9B8%3D) 7. Click **Save** to keep the changes and exit the Lightning App Builder. Upon successful installation, the widget is displayed on the account page. ![The widget is displayed on the account page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/the_widget_is_displayed_on_the_account_page.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A51%3A13Z&se=2026-11-24T17%3A51%3A13Z&sr=b&sp=r&sig=ZqWKEu9zQIv1OykKGA91C6VEkAmf%2BvLexXuj774z7E0%3D) **IMPORTANT** - Authentication works by matching the Salesforce user with a Staircase AI user. - You won’t see any data if you don't have Staircase user access. - 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.