Before setting up territory-based routing, it's crucial to review your existing territory structure and coverage. This information will be used to configure the Custom Metadata in Salesforce which is critical to accurately executing the routing policy.
Review the territory rules
The purpose of this step is to identify all the fields used in your territory rules. You will need this information to ensure field mapping is set up properly.
Find the desired plan.
Go to Plans > Territories > Manage Accounts.
At the top of the Territories hierarchy, click the menu â‹® and select Edit.
Examine the territory rules and note down all the fields that are used in the rules. You do not need to include fields used in any SmartPlan rules.

Review address mapping
If you use a geographic rule that was created with the map interface, confirm whether you used billing address or shipping address.
Go to Settings > Entities & Fields.
From the Entity drop-down, select Accounts.
Click Address Mapping to view the selected address type.
Click Close.

Check territory coverage
The goal of this step is to verify which roles are assigned at each level of the hierarchy, allowing you to reference them precisely when setting up role-based routing.
From within your territory plan, click the Coverage tab.
Click through the segments and territory levels to review the assignments.
Ensure coverage assignments are configured for any roles that will require Lead routing.

Check team structure
Optionally, if your routing policy will use round-robin pools of user participants that are automatically populated from a specific team (as opposed to being manually entered), confirm that your team structure is set up and people are assigned to teams.
Refer to Create Teams Using Bucket Values and Move People in Teams.