Skip to content

Quick Start

This guide is the minimum path for the free package (OpenStreetMap + draw fence, no GIS API key). For full requirements and optional API setup, see Requirements and Configuration.

Review Requirements: supported Lightning surfaces, report location columns, and the ~2,000 row limit per report refresh.

Install Three Levers Core (namespace three_levers) using the link for your org type:

OrgInstall link
Productionlogin.salesforce.com — install package
Sandboxtest.salesforce.com — install package

On the Install Three Levers Core screen:

  1. Select Install for All Users.
  2. Check I acknowledge that you are installing a non-Salesforce application (required).
  3. Click Install.

Install Three Levers Core: Install for All Users, acknowledge checkbox, and Install

When prompted with Approve Third-Party Access:

  1. Review the CSP trusted sites (OpenStreetMap tiles and apis.threelevers.com).
  2. Check Yes, grant access to these third-party web sites.
  3. Click Continue.

Approve Third-Party Access: grant access checkbox and Continue

Assign the package permission set(s) to users who will open the map page.

The package includes a sample report folder for smoke testing.

  1. In Salesforce, go to Reports.
  2. Open All FoldersThree Levers GIS Test Reports.
  3. Open Map External Features Test Accounts.
  4. Adjust the report filters so the rows you want on the map are included, then run the report.

Reports folder Three Levers GIS Test Reports with Map External Features Test Accounts

For your own production use, you will point the component at your report instead of this sample.

  1. Open Flows and click New Flow.
  2. Under Categories, open Screen Automations (or choose Screen Flow under Frequently Used).

New Automation: select Screen Automations

  1. Select the template Map Your Records TEMPLATE (included with the package).

Select Map Your Records TEMPLATE

  1. On Save the flow, enter a Flow Label and Flow API Name (for example Map Your Records SAMPLE / Map_Your_Records_SAMPLE).
  2. Click Show Advanced and confirm Source Template is Map Your Records TEMPLATE and Type is Screen Flow.

Save the flow: Show Advanced link

Save the flow: Source Template Map Your Records TEMPLATE

  1. Click Save, then Activate the Flow. You will select this Flow API name in the map configuration.

See Flow integration for inIds, outIds, nearIds, and String to Collection.

  1. Open Lightning App Builder.
  2. Find the sample page Map Records and Take Action (shipped with the package).
  3. Use Clone so you have your own copy to edit.
  4. Save and Active your new page.

From the App Launcher, open your cloned page and begin configuration on the live map preview.

  1. Report — Select Map External Features Test Accounts (or your report).
  2. Geolocation — Choose Report Fields (latitude/longitude columns) or Address Fields (geocoded addresses). The map preview should show your records.
  3. Select the Configure gear on the map preview (lightning icon).

Configure gear on the map preview

In the configuration dialog:

SettingValue
Id columnAccount ID (or the column that holds Salesforce record Ids)
FlowThe Flow you created from Map Your Records TEMPLATE (for example Map_Your_Records_SAMPLE)
Near distanceMiles for the NEAR band (for example 5)
  1. Select Copy JSON, then Edit Page.

Copy JSON from the configuration summary

The copied JSON includes your report id, flow name, near distance, and (when unused) empty service for free mode:

{
"service": "",
"serviceUrl": "https://apis.threelevers.com/gis/map/",
"flowApiName": "Map_Your_Records_SAMPLE",
"nearDistanceMiles": 5
}

With the component still selected in App Builder:

  1. Paste the copied JSON into Configuration JSON.
  2. Set Height as needed (for example 500px).
  3. Optionally adjust Wrap in card and Card title.

Configuration JSON field in Lightning App Builder

  1. Save the page.
  2. Activate the page and assign it to the appropriate app, profile, or Lightning Experience navigation.

Open the page in your app. You should see report markers on the map. Use Draw fence to select an area, review IN / OUTSIDE / NEAR counts, then Send to Flow to pass record Ids into your Flow.

TopicPage
Draw fence and selectionUsing the map
IN / OUT / NEARIN / OUT / NEAR
Flow variablesFlow integration
Hosted boundaries (paid)Three Levers GIS API

Stuck? Contact support.