Create an External Client App
Register the Salesforce External Client App that StackOne uses to sign each user in to Account Engagement.
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.

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

Enable OAuth and set the callback URL
Expand API (Enable OAuth Settings).
- Select Enable OAuth.
- Callback URL: the Callback URL from your Connector Profile

Add the OAuth scopes
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_tokenandoffline_accessare one option, Perform requests at any time (refresh_token, offline_access).

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.

Create the app
Click Create.
- The app can take up to 15 minutes before it accepts sign-ins.

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.

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.

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.
Open Business Unit Setup
In Salesforce Setup, go to Platform Tools > Account Engagement > Business Unit Setup.

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.

Create the StackOne Connector Profile
Create a Connector Profile
Link an Account