You can find your Oracle Eloqua app credentials by visiting your Oracle Eloqua App dashboard.Note: You’ll need to create a new Oracle Eloqua app if you don’t already have one.You’ll need the following information to set up your Oracle Eloqua App with Paragon Connect:
Under Integrations > Connected Integrations > Oracle Eloqua > App Configuration > Configure, fill out your credentials from your developer app in their respective sections:
Client ID: Found under Client ID on your Oracle Eloqua App page.
Client Secret: Found under Client Secret on your Oracle Eloqua 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.
Press the purple “Save Changes” button to save your credentials.Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.
Once your users have connected their Oracle Eloqua account, you can use the Paragon SDK to access the Oracle Eloqua API on behalf of connected users.See the Oracle Eloqua REST API documentation for their full API reference.Any Oracle Eloqua 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 a list of all campaignsawait paragon.request("eloqua", "/api/rest/2.0/assets/campaigns", { method: "GET"});// Create a campaignawait paragon.request("eloqua", "/api/rest/2.0/assets/campaign", { method: "POST", body: { name: "New campaign", elements: [] }});// Activate a campaginawait paragon.request("eloqua", "/api/rest/2.0/assets/campaign/active/<Campaign ID>", {method: "POST",body: { activateNow: true}});