---
schema_version: "1"
id: 20d57f4117129e695cb36cbfe1196236a25398049fea248808572ce603672e83
title: Embed Salesforce Spiff in a Salesforce Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/spiff_embed.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.spiff_embed.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 82b356f5d804afa01552766c30189a9a9606870d6b0ded8e5770675b4a8a31d9
description: Help sales reps track progress toward commission goals directly where they manage deals. Embed Salesforce Spiff in a Visualforce page iframe so that your Spiff and Salesforce users can more easily focus on their flow of work without changing browser tabs.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Embed Salesforce Spiff in a Salesforce Page

Help sales reps track progress toward commission goals directly where they manage deals. Embed Salesforce Spiff in a Visualforce page `iframe` so that your Spiff and Salesforce users can more easily focus on their flow of work without changing browser tabs.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available for an additional cost in: <strong>Professional</strong> Edition with Web Services API Enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d84162e79">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d84162e79 ">To create Visualforce pages:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d84162e79 ">(Salesforce) Customize Application</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d84162e79 ">To create Visualforce tabs:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d84162e79 ">(Salesforce) Customize Application</td>

          </tr>
        </tbody>
      </table>

## Create a Visualforce Page

To embed Salesforce Spiff in another Salesforce page, first create a Visualforce page for showing Spiff content.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_performance_management-264-0-0-production-enus/b1f2feb4-26b8-444f-97f7-be2349869d93/images/icon_note.png)

Note A Spiff `iframe` is compatible only with a Salesforce domain and isn’t compatible with other third-party apps.

1. From Setup, in the Quick Find box, enter Visualforce Pages, and then select **Visualforce Pages**.
2. Click **New** and enter a label, name, and description.
3. Add this code for the page.
    
    ```
    <apex:page standardController="Account">
    <apex:iframe src="https://SUBDOMAIN.spiff.com/" id="spiff-iframe" width="100%" height="1500px" />
    </apex:page>
    ```
    
    - Replace `SUBDOMAIN` with the correct subdomain for your region.
        - If you’re in the US, use us1.
        - If you’re in the EU, use eu1.
    - For `standardController="Account"`, specify the standard page that you’re replacing, such as Account. If you’re not showing Spiff in a default Salesforce page, omit the `standardController` parameter. If you omit this parameter, you can embed content only on pages that aren’t default Salesforce objects, such as the Home page.
    - For `width` and `height`, optionally adjust values.
4. Save your changes.

## Add the Visualforce Page to a New Tab

Create a tab for the Visualforce page you created for showing Salesforce Spiff content in Salesforce.

1. From Setup, in the Quick Find box, enter Tabs, and then select **Tabs**.
2. Scroll to the Visualforce Tabs section and click **New**.
3. From the Visualforce Page dropdown, select the Visualforce Spiff App page you created, complete the remaining fields, and click **Next**.
4. Select the profiles and custom apps that you want to show the tab for, and save your changes.

## Update Permission Settings

Make sure that your sales reps can access Visualforce pages that you create by updating the page’s security settings. After a rep logs into a Spiff `iframe` for the first time, they don’t need to log in again for future Salesforce sessions.

1. From Setup, in the Quick Find box, enter Visualforce Pages, and then select **Visualforce Pages**.
2. Scroll to the Visualforce page you created and click **Security**.
3. Add or remove the profiles that you want to have access to the Visualforce page.
4. Save your changes.

#### See Also

- [Create Visualforce Pages](https://help.salesforce.com/s/articleView?id=platform.pages_creating.htm&type=5&language=en_US)
- [Create Visualforce Tabs](https://help.salesforce.com/s/articleView?id=platform.pages_tabs_create.htm&type=5&language=en_US)
- [_Salesforce Developers_: StandardController Class](https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/apex_pages_standardcontroller.htm)