Paragon
Search…
Pardot
Connect your Pardot app for OAuth in Paragon.

Setup Guide

You can find your Salesforce app credentials in your Salesforce Developer Account.
You'll need the following information to set up your Salesforce App with Paragon Connect:
  • Consumer Key
  • Consumer Secret
  • Scopes Requested

Add the Redirect URL to your Pardot app

Paragon provides a redirect URL to send information to your app. To add the redirect URL to your Salesforce app:
1. Log in to your Salesforce dashboard.
2. Navigate to the gear icon at the top of the page and click Setup.
3. In the left-hand sidebar, go to Platform Tools > Apps > App Manager.
Note: You must have the proper admin permissions on your Salesforce account to access the App Manager. If you don't, please speak to your admin.
4. Click on the registered application you'd like to use. If you don't already have one, click New Connected App.
5. Under API (Enable OAuth Settings), mark the "Enable OAuth Settings" checkbox.
6. Under Callback URL, paste-in Paragon Connect's redirect URL:
1
https://passport.useparagon.com/oauth
Copied!
7. Select any scopes you'd like to use in your application.
8. Press the Save button at the bottom of the page.
Salesforce provides your Consumer Key and Consumer Secret needed for the next step once you register your application.

Add your Pardot app to Paragon

Under Integrations > Connected Integrations > {YOUR_APP} > Settings, fill out your credentials from the end of Step 1 in their respective sections:
  • Consumer Key: Found under Manage Connected Apps > API (Enable OAuth Settings) > Consumer Key on your Salesforce App page.
  • Consumer Secret: Found under Manage Connected Apps > API (Enable OAuth Settings) > Consumer Secret on your Salesforce App page.
  • Permissions: Select the scopes you've requested for your application.
Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.

Connecting to Pardot

Once your users have connected their Pardot account, you can use the Paragon SDK to access the Pardot API on behalf of connected users.
See the Pardot REST API documentation for their full API reference.
Any Pardot API endpoints can be accessed with the Paragon SDK as shown in this example.
1
// You can find your project ID in the Overview tab of any Integration
2
3
// Authenticate the user
4
paragon.authenticate(<ProjectId>, <UserToken>);
5
6
// Get Prospects
7
await paragon.request("pardot", "/api/prospect/version/4/do/query/?format=json", {
8
method:"GET",
9
});
10
11
12
// Create a new Prospect
13
await paragon.request("pardot", "/api/prospect/version/4/do/create?format=json", {
14
method: "POST",
15
body: "email=b%40useparagon.com&first_name=Brandon&last_name=Foo",
16
headers:{
17
'Content-Type': 'application/x-www-form-urlencoded',
18
}
19
});
20
Copied!

Building Pardot workflows

Once your Pardot account is connected, you can add steps to perform the following actions:
  • Create or Update Prospect
  • Search Prospects
  • Get Prospect by ID
  • Delete Prospect by ID
  • Add Prospect to List
  • Remove Prospect from List
When creating or updating prospects in Pardot, you can reference data from previous steps by typing {{ to invoke the variable menu.
Last modified 3mo ago