Salesforce Lightning UI Setup

First, please make sure you have followed the instructions to to install the FullStory app in your Salesforce instance.

Create a Custom Domain

A custom domain in Salesforce (called "My Domain") is required before you can use Lightning Components in Lightning pages. If already have a custom domain set up, skip to the next section, "Provide API Key".

  1. Click on the gear icon at the top right of your Salesforce Lightning page. 
  2. Click on Setup from the dropdown. A new tab will open.
    direct_1551199365236-1551199365236.png
  3. Navigate to Settings > Company Settings on the left hand side nav bar and click on My Domain.
  4. Here, you’ll be able to see if you’ve set up a custom domain. If you haven’t please go through the instructions provided on that page to create a custom domain
  5. Once successfully set up, you'll see this success image.
    direct_1551200065624-1551200065624.png

Configure the FullStory app

You'll need to set your FullStory API key in Salesforce so that the widget can fetch the user sessions from the appropriate FullStory account.

  1. Login to FullStory and copy your API key from Settings.
  2. In the Salesforce Lightning UI, click on the app launcher and navigate to All Items > FullStory Settings.
  3. In the "API Settings" tab paste your API key in the text field and click "Save Key."
    direct_1556293038890-image5.png
  4. Click on the "Object Settings" tab. Here you can configure the set of objects for which FullStory sessions can be fetched and displayed, as well as how sessions will be fetched.

    The FullStory app comes with configuration for the Case, Contact, and Lead objects. To add support for another object, click "Add." In the Object column, select the object for which you want to install the widget. In the Field column, select the field whose values FullStory should use for filtering sessions. You can use either an Email field or an External ID field that contains the FullStory user ID (this user ID must be the same user ID that is passed into the FullStory FS.identify API call).

    Also note that only objects containing an Email or External ID type field will appear in the object dropdown. When you have made the appropriate selections, click "Save Changes."
    direct_1556293964764-1556293964764.png

Add the FullStory Lightning Component to your Page(s)

The FullStory widget can be added to any of the following pages: Contacts, Leads, and Cases. 

  1. Once in your preferred page (Contacts, Leads or Cases), click on the settings gear and select
    Edit Page.
     direct_1551200168654-1551200168654.png
  2. The Lightning Components sidebar will appear. Drag and drop the “FullStory Sessions” component into your page.

    direct_1551207416831-1551207416831.png

    direct_1551200195731-1551200195731.png
  3. Click on “Save” 

Now, whenever you have a record with matching Email or External ID (whichever was configured), you will have a list of sessions for that user. Simply click the session link to be taken into FullStory to watch the session.

Need to get in touch with us?

The FullStory Team awaits your every question.

Contact us