Sign in to Salesforce
Sign in to the Salesforce org that owns your Pardot business unit. Use login.salesforce.com for Production and Developer orgs, or test.salesforce.com for a Salesforce Sandbox.
- Navigate to Setup > Apps > App Manager.
Create a Connected App
Register a new Salesforce Connected App that StackOne will use to authenticate with Pardot.
Open the new Connected App form
Click New Connected App in the top-right corner of the App Manager page.
Fill in basic information
Complete the Basic Information section of the new Connected App.
- Connected App Name:
StackOne Pardot Integration - API Name: auto-filled from the Connected App Name
- Contact Email: your email address
Enable OAuth settings
In the API (Enable OAuth Settings) section, enable OAuth and configure the callback URL.
- Check Enable OAuth Settings.
- Callback URL:
https://api.stackone.com/connect/oauth2/pardot/callback
Select OAuth scopes
Move the scopes required for your use case from Available OAuth Scopes to Selected OAuth Scopes.
Configure the Refresh Token Policy
Open the Connected App’s policies and set how long refresh tokens remain valid. Without this, refresh tokens may expire and break the connection.
Open Manage Policies
From App Manager, find your Connected App, click the dropdown arrow, and select Manage. Then click Edit Policies.
Choose a Refresh Token Policy
In the App Authorization section, pick one of the following under Refresh Token Policy:
- Refresh token is valid until revoked — recommended. The refresh token stays valid until a Salesforce admin revokes it, keeping the StackOne connection live indefinitely.
- Expire refresh token after specific time — set Refresh Token Validity Period (maximum
720) and Refresh Token Validity Unit (Day(s),Hour(s),Minute(s)). Choose the longest period your use case can tolerate — once it elapses, the end user must re-authenticate.
Retrieve the Client ID and Client Secret
Locate the Consumer Key and Consumer Secret for the Connected App you just created.
- From App Manager, find your Connected App, click the dropdown arrow, and select View.
- In the API (Enable OAuth Settings) section, click Manage Consumer Details.
- Copy the Consumer Key (Client ID) and Consumer Secret (Client Secret), and store securely for use later.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Pardot:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Pardot
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID (Consumer Key)
- Client Secret (Consumer Secret)
- OAuth Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile