---
schema_version: "1"
id: b6acde66ccb899a8c808b7b7b540eead289dea5a0813c0776c5694b1263c5a80
title: Set Up API Access for the Salesforce Spiff Commission Estimator
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/spiff_estimator_api_access.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.spiff_estimator_api_access.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8cb6017651299c5e503f8f7beadb0a9332394be566afbb8ca5a65cfc9f2d8d6f
description: To let the Salesforce Spiff Commission Estimator managed package work with data in Salesforce, generate Client ID and Client Secret security credentials in Spiff. Then, enter those credentials in Salesforce.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Set Up API Access for the Salesforce Spiff Commission Estimator

To let the Salesforce Spiff Commission Estimator managed package work with data in Salesforce, generate Client ID and Client Secret security credentials in Spiff. Then, enter those credentials in Salesforce.

### 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="d87371e76">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d87371e76 ">To manage API access in Spiff:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d87371e76 ">
              <p>A Spiff <a href="https://help.salesforce.com/s/articleView?id=sales.spiff_users_roles_and_permissions.htm&amp;release=264.0.0&amp;type=5" title="Give users the appropriate level of access so they can be successful in Salesforce Spiff, and enforce the principle of least privilege. Assign a default role to each user, or create custom roles with access to specific Spiff functionality.">user role</a> with this permission turned on.</p>
              <p style="margin-bottom:0;">OAuth Integrations: Manage</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d87371e76 ">To manage Spiff Connect app in Salesforce:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d87371e76 ">(Salesforce) Spiff Commission Admin permission set</td>

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

## Generate the Client ID and Client Secret in Salesforce Spiff

![Generate the Client ID and Client Secret in Salesforce Spiff.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_performance_management-264-0-0-production-enus/b1f2feb4-26b8-444f-97f7-be2349869d93/sales_performance_management/images/spiff/spiff_estimator_api_access.png)

1. Log in to Spiff as an admin.
2. From the Admin menu, select **Settings** and then select **API Access Management**.
3. For Application Name (1), enter Spiff Commission Estimator.
4. Under Content Actions, turn on **Read CPQ data and related users** (2).
5. Click **Create** (3).
6. From the window that appears, copy the Client ID and Client Secret.
    
    If you close the window without copying these values, there’s no way to recover them.

## Enter the Client ID and Client Secret in Salesforce

1. Log in to Salesforce as an admin with the Spiff Commission Admin permission set.
2. From the App Launcher, go to **Spiff Connect**.
3. On the Spiff Connect tab, enter the Client ID and Client Secret that you copied.
4. Enter a Client Domain, depending on your region.
    - If you’re in the US, enter us1.spiff.com.
    - If you’re in the EU, enter eu1.spiff.com.
5. Save your changes.