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:
Under Integrations > Connected Integrations > Pardot > App Configuration > Configure, 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. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.
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.
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Get Prospectsawait paragon.request("pardot", "/api/prospect/version/4/do/query/?format=json", { method:"GET",});// Create a new Prospectawait paragon.request("pardot", "/api/prospect/version/4/do/create?format=json", { method: "POST", body: "email=b%40useparagon.com&first_name=Brandon&last_name=Foo", headers:{ 'Content-Type': 'application/x-www-form-urlencoded', }});
Webhook triggers can be used to run workflows based on events in your users’ Pardot account. For example, you might want to trigger a workflow whenever new contacts are created Pardot to sync your users’ Pardot contacts to your application in real-time.
You can find the full list of Webhook Triggers for Pardot below: