Pardot — now Salesforce Account Engagement — is Salesforce's B2B marketing automation platform. Integrating Pardot with Frontegg lets your application read and manage prospects, lists, campaigns, and other Account Engagement data on behalf of your users — all through Frontegg's integration layer (Account Engagement API v5). Pardot authenticates with OAuth 2.0 through a Salesforce Connected App, so you create a Connected App in Salesforce to obtain a Client ID and Client Secret. Because Account Engagement is multi-tenant within Salesforce, you also provide your Business Unit ID.
Prerequisites
Prerequisites
- A Salesforce Account Engagement (Pardot) account
- Salesforce administrator access to create a Connected App and to read the Business Unit ID
You create a Salesforce Connected App with OAuth enabled. The app provides the Client ID (Consumer Key) and Client Secret (Consumer Secret) and defines the callback URL that Salesforce returns users to after they authorize access. You also need your Account Engagement Business Unit ID.
Sign in to Salesforce and go to Setup → App Manager → New Connected App (Create a Connected App). Enter a Connected App Name (for example, Frontegg Integration) and a contact email.
Under API (Enable OAuth Settings):
- Select Enable OAuth Settings.
- Callback URL — Enter your Frontegg Redirect URL:
https://YOUR_MCP_GATEWAY_URL/integration-callback - Selected OAuth Scopes — Add Manage Account Engagement (Pardot) services (pardot_api) and Perform requests at any time (refresh_token, offline_access).
Save the Connected App. It can take a few minutes for Salesforce to activate the new app.
Open the Connected App's Manage Consumer Details (you may be prompted to verify your identity). Copy the Consumer Key — this is your Client ID — and the Consumer Secret — this is your Client Secret.
Keep your Client Secret safe
Keep your Client Secret safe
The Consumer Secret grants access to your account through the API. Treat it like a password and never expose it in client-side code or commit it to version control.
In Salesforce, go to Setup → Account Engagement → Business Unit Setup and copy your Business Unit ID. It starts with 0Uv and is 18 characters long.
Once you have your Client ID, Client Secret, and Business Unit ID, configure the integration in the Frontegg portal:
- Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Pardot.
- Enter the Client ID and the Client Secret.
- Enter your Pardot Business Unit ID (for example,
0Uvxxxxxxxxxxxxxxx). - Select the Environment — Production, Developer / Demo org, or Sandbox — to match your Account Engagement org.
- Click Save.
Frontegg requests the following scopes during authorization:
| Scope | Description |
|---|---|
pardot_api | Access and manage your Account Engagement (Pardot) data |
refresh_token | Maintain access to your data via a refresh token |
Keep your credentials secure
Keep your credentials secure
Never share or commit your Client Secret to version control.