Skip to main content
Requires Salesforce admin access to create an External Client App and to open Business Unit Setup, and an Account Engagement edition that includes API access.

Create an External Client App

Register the Salesforce External Client App that StackOne uses to sign each user in to Account Engagement.

1

Start the app

Sign in to the Salesforce org that owns your Account Engagement business unit, then open Setup.

  • Production — Salesforce login
  • Developer — Salesforce login
  • Sandbox — Salesforce sandbox login
  • Create the app in the same environment you will connect — credentials differ per environment.
  • Go to Platform Tools > Apps > External Client Apps > External Client App Manager.
  • Click New External Client App.
The External Client App Manager page with the New External Client App button highlighted
2

Fill in basic information

Complete the Basic Information section.

  • External Client App Name: StackOne Pardot Integration
  • API Name: fills in automatically from the External Client App Name
  • Contact Email: an address your team monitors
  • Distribution State: Local
The Basic Information section with the External Client App Name, API Name, Contact Email and Distribution State fields highlighted
3

Enable OAuth and set the callback URL

Expand API (Enable OAuth Settings).

  • Select Enable OAuth.
  • Callback URL: the Callback URL from your Connector Profile
The API section with the Enable OAuth checkbox and the Callback URL field highlighted
4

Add the OAuth scopes

Enables actions: Add Prospect To List, Add Tag To Campaign, Add Tag To Dynamic Content, Add Tag To File, Add Tag To Landing Page, Add Tag To Prospect, Add Tag To User, Connect Salesforce Campaign, Create Custom Field, Create Custom Redirect, Create Dynamic Content, Create Email Template, Create Engagement Studio Program, Create Form, Create Landing Page, Create Layout Template, Create List, Create Prospect, Create Tag, Delete Custom Field, Delete Custom Redirect, Delete Email Template, Delete File, Delete Form, Delete Layout Template, Delete List, Delete Prospect, Delete Tag, Download Engagement Program Structure, Get Account, Get Campaign, Get Custom Field, Get Custom Redirect, Get Dynamic Content, Get Email Template, Get Engagement Program, Get File, Get Folder, Get Folder Contents Record, Get Form, Get Landing Page, Get Layout Template, Get List, Get List Email, Get List Email Stats, Get List Membership, Get One-to-One Email, Get Opportunity, Get Prospect, Get Tag, Get Tagged Object, Get Tracker Domain, Get User, Get Visitor Activity, List Campaigns, List Custom Fields, List Custom Redirects, List Dynamic Content, List Email Templates, List Engagement Programs, List Files, List Folder Contents, List Folders, List Forms, List Landing Pages, List Layout Templates, List List Emails, List List Memberships, List Lists, List One-to-One Emails, List Opportunities, List Prospects, List Tagged Objects, List Tags, List Tracker Domains, List Users, List Visitor Activities, Merge Tags, Remove Prospect From List, Remove Tag From Campaign, Remove Tag From Dynamic Content, Remove Tag From File, Remove Tag From Landing Page, Remove Tag From Prospect, Remove Tag From User, Send List Email, Send One-to-One Email, Undelete Prospect, Update Custom Field, Update Custom Redirect, Update Email Template, Update File, Update Layout Template, Update List, Update List Membership, Update Prospect, Update Tag, Upload File, Upsert Prospect By Email

Under OAuth Scopes, add each scope listed.

  • Select the scope in Available OAuth Scopes.
  • Click the right-arrow button to move it to Selected OAuth Scopes.
  • refresh_token and offline_access are one option, Perform requests at any time (refresh_token, offline_access).
The OAuth Scopes lists with the move button and the Selected OAuth Scopes list highlighted
5

Review the enforced security settings

In the Security section, Salesforce selects several settings an admin can’t change. Each is marked “To change this required setting, contact Support.”

  • Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows stays selected.
  • Enable Refresh Token Rotation is selected. Salesforce issues a new refresh token on every refresh.
  • Limit Idle Refresh Token Time-to-Live (TTL) to 30 Days is selected. A connection that sits idle longer than 30 days must be reauthorized.
The Security section with the enforced PKCE, refresh token rotation and idle TTL settings highlighted
6

Create the app

Click Create.

  • The app can take up to 15 minutes before it accepts sign-ins.
The bottom of the new app form with the Create button highlighted
7

Set the app policies

After you click Create, Salesforce opens the app on its Policies tab.

  • Click Edit.
  • Expand OAuth Policies.
  • Permitted Users: All users can self-authorize, so each user signs in with their own Salesforce login
  • Under App Authorization, choose an option in Refresh Token Policy (Idle Expiration Time Limit Enforced).
  • Expire refresh token if not used for specific time is the default. Set Refresh Token Validity Period and Refresh Token Validity Unit to the longest idle window your use case allows.
  • Expire refresh token after specific time ends the session at a fixed age regardless of use. The user must reauthorize once it elapses.
  • Immediately expire refresh token ends the connection after a single use and is not suitable for StackOne.
  • Click Save.
The App Authorization section with the Refresh Token Policy options, the validity fields and the Save button highlighted
8

Copy the Consumer Key and Consumer Secret

Open the app’s Settings tab.

  • Expand OAuth Settings.
  • Click Consumer Key and Secret.
  • Salesforce opens Verify Your Identity in a new tab and emails you a verification code. Enter the code to continue.
  • Copy the Consumer Key into your Connector Profile.
  • Copy the Consumer Secret into your Connector Profile.
  • Salesforce asks you to verify your identity each time you open Consumer Details.
The Consumer Details page with the Copy buttons for the Consumer Key and Consumer Secret highlighted and both values masked

Find your Business Unit ID

The Business Unit ID tells Account Engagement which business unit to read and write. Every account linked through this Connector Profile uses it.

1

Open Business Unit Setup

In Salesforce Setup, go to Platform Tools > Account Engagement > Business Unit Setup.

The Setup menu with Account Engagement and Business Unit Setup highlighted
2

Copy the Business Unit ID

Each business unit is listed with its Business Unit Name and Business Unit ID.

  • Copy the Business Unit ID of the business unit you are connecting into your Connector Profile.
  • Format: an 18-character ID beginning with 0Uv
  • A Connector Profile holds one Business Unit ID. To connect another business unit, create a separate Connector Profile for it.
The Business Unit Setup page with the Business Unit ID field highlighted

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.