---
schema_version: "1"
id: 9f1b0b8841c730cf3c329501de19d15603472275f7228d0ff9aa602c4f0c29c4
title: Designate an OAuth User for Data Processing and Optimizations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/territory_planning_prepare_access.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.territory_planning_prepare_access.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: aaa6080f2ee266c8481240a180001d6219161dcdc9a38e2e3615c95ae99923ea
description: Assign yourself or a colleague as the OAuth user. Territory Planning processes data management and alignment optimizations through the OAuth user on Salesforce Maps servers. That way, nobody’s affected during intensive system processing.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Designate an OAuth User for Data Processing and Optimizations

Assign yourself or a colleague as the OAuth user. Territory Planning processes data management and alignment optimizations through the OAuth user on Salesforce Maps servers. That way, nobody’s affected during intensive system processing.

### 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>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=sales.territory_planning_api_access.htm&amp;type=5&amp;language=en_US" target="_blank">Web Services API enabled</a></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="d44814e69">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d44814e69 ">To manage Territory Planning options in the Salesforce Maps package:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d44814e69 ">Customize Application</td>
          </tr>
        </tbody>
      </table>

Regardless of who creates and manages datasets and alignments, Territory Planning processes that work through the OAuth user. That user requires access to Territory Planning and any Salesforce objects involved in the data import process, such as the Account and Opportunity objects.

1. To designate yourself as the OAuth user, log in to Salesforce with your username and password. Or to designate a colleague, ask that colleague to log in to Salesforce with their username and password.
    
    The person you designate as the OAuth user completes the rest of this procedure.
2. From Setup, in the Quick Find box, enter Installed Packages, and then select **Installed Packages**.
3. Click **Configure** next to the Salesforce Maps package.
4. To meet data residency requirements, open your permission groups and set **Off-Platform Processing Location** to the location that matches your Salesforce instance location. For example, your Salesforce instance is based in Europe, so you set your off-platform processing location to Europe in each permission group.
    
    ![Off-platform processing location](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/salesforce_maps_territory_planning_oauth_off_platform_processing.png)
5. Select **OAuth**. Then, click **Authorize**.
    
    ![Territory Planning oauth authorization](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/salesforce_maps_territory_planning_oauth.png)
6. Click **Allow Access**.