---
schema_version: "1"
id: 44512412f8979224266bfa15df458d8e9ee590fc24d213a7bffd0de37b2d06e1
title: Add Country Codes to Alignments
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/sales_planning_country_codes_alignments.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.sales_planning_country_codes_alignments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2ab302f5ed1295679aae25dfac4b21f16247ce37d36db3cdb6c67c2d0d12ba1a
description: Plan territories with more accuracy when you add country code attributes to your units in Territory Planning.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Add Country Codes to Alignments

Plan territories with more accuracy when you add country code attributes to your units in Territory Planning.

### 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 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="d78848e75">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d78848e75 ">To add country codes to alignments:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d78848e75 ">
              <p>Sales Planning Admin permission set</p>
              <p>AND</p>
              <p>One of these:</p>
              <ul>
                <li>Data Pipelines Base User permission set</li>

                <li>CRM Analytics Plus Admin permission set</li>

                <li>CRM Analytics Growth Admin permission set</li>

              </ul>
            </td>

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

1. Select a territory plan alignment.
2. Open Setup.
3. On the Attributes tab, click **Add from Segment**.
4. Select the checkbox next to the new country code attribute.
5. Click **Save**.
6. On the Geographic Fields tab, remove the mapped field from Country.
7. Select the country code you created.
8. Click **Save**.
9. Adjust the legend to show the units from your data source.
    
    A new column titled Container appears.

Values in the Container column represent the unit’s assigned postal code boundary. If units don’t include an assigned boundary, confirm their postal codes or country values. Use the legend to identify the issue so it can be resolved.