Installing Territory Mapper

Status: ⚠️ The individual steps have been walked against real managed installs on fresh Developer Edition orgs. The whole chain has not been walked end to end in one pass by one person — see Setting up the org.

Getting the package into your org, and the one thing that has to be true before you start.

Installing is the short half. The package installs in a few minutes and then does nothing useful until the steps on Setting up the org are done — several of which fail silently. Budget your time accordingly: the install is minutes, the setup is an afternoon.


1. Before you install: Enterprise Territory Management

Setup → Territory Settings → Enable Enterprise Territory Management.

Territory Settings in Salesforce Setup

Enterprise Territory Management. Territory Mapper keeps your territories in Salesforce's own territory records rather than an object of its own, so this has to be on before anything else will work.

Territory Mapper does not bring its own territory object. It uses Salesforce's own Enterprise Territory Management and adds fields and screens to it. ETM must be on before you install.

If you are not sure whether it is already on, look for Territory Models in Setup. If that item is absent, ETM is off.

🔴 In most orgs this is a one-way switch. Read Salesforce's own warning on that page before you press it. It is not a Territory Mapper setting and we cannot turn it off for you.


2. Install the package

Install from the AppExchange listing link. Install into a sandbox first.

Installing for admins only is fine. People get Territory Mapper from its permission sets, which you assign in setup step 4, not from the install screen. When prompted, grant access to third-party websites — the map and its background tiles need it.

The install itself does three things:

  • Gives all three permission sets to you, the person installing, and to nobody else.
  • Checks for a Territory Type and logs a warning if there is none. It cannot create one — that is setup step 6.
  • Schedules two jobs, Territory Mapper — Assignment Retry (hourly) and Territory Mapper — Assignment Failure Purge (nightly). The first also starts the five-minute assignment check, and needs one more step from you before it works — setup step 9.

Upgrading from an earlier version? See Upgrading Territory Mapper for the steps an upgrade does not do for you.


3. Check the install took

Setup → Installed Packages.

Installed Packages, with Territory Mapper listed

Territory Mapper installed. The namespace prefix is mapkraken and the packaging model is 2GP — both are worth noting, because the namespace is what every packaged component is prefixed with from here on.

Three things on that row are worth reading rather than skipping:

ColumnWhat it tells you
Version NumberQuote this whenever you contact MapKraken Labs. Behaviour differs between versions and it is the first thing we ask
Namespace Prefixmapkraken. Every packaged permission set, tab, field and metadata type is prefixed with it, which is why they do not sort next to your own components in Setup lists
Limits / Apps / Tabs / ObjectsObjects is not zero, and it is not your data model. Besides fields on Salesforce's territory objects, the package adds Territory Assignment Failure (the exception queue) and Territory Object Config (which objects each model assigns). Your territories themselves stay in Salesforce's own records

What the package brings, and what it does not

This is the section that saves the most time later, because most "it doesn't work" reports are about something in the right-hand column.

The package shipsThe package cannot ship
The map application and its tabYour org's registration with the map service. It ships the address; your org proves who it is with a certificate you create — step 2 of setup
Three permission setsAnybody else assigned to them. The install gives all three to the person who installed it, and to nobody else
Four custom metadata types, including Territory RoleAny roles. The package ships none, deliberately — Defining territory roles
Fields and buttons on Salesforce's territory objects, and the one CORS entry the map needsA Territory Type. Salesforce does not let a package create one, so you create it before you build a territory — setup step 6
Page layouts with the map buttons on themThe layouts' assignment to your profiles. Salesforce has no screen for it on Territory — setup step 7
The assignment logicCoordinates on your records. Those come from geocoding clean rules, and without them nothing is ever assigned

Where things live after installing

WhatWhere
The app itselfThe Territory Mapper tab, two buttons on a Territory Model record, and Map Territory on a Territory record
Assignment exceptionsThe Assignment Exceptions tab
Connection settingsThe Territory Mapper Setup tab (administrators)
Which objects each model assignsThe Territory Object Configs tab (administrators)
Permission setsSetup → Permission Sets, three of them, all prefixed mapkraken
Roles and functional groupsSetup → Custom Metadata Types
Your models and territoriesSetup → Territory Models — the same records the map edits
Territory Models in Salesforce Setup

Your models, as Salesforce sees them. Territory Mapper edits the same records — a model you build on the map is a Territory Model here, and a territory is a Territory.


Next

Setting up the org — the twelve steps that have to happen before anything works, in order, with the ones that fail silently marked as such.

Last verified: 2026-11-07 · Owner: MapKraken Labs LLC

Something on this page wrong, or a setup step missing? That is a documentation defect and we want it — tell us and this is the page that gets fixed.