Salesforce Juvo Leads Integration
Setting Up a Connected App (OAuth):
- Log in to Salesforce: Access your Salesforce org as an administrator.
- Navigate to Setup: Click the gear icon and select “Setup.”
- Search for App Manager: In the Quick Find box, type “App Manager” and select it.
- Create a New Connected App: Click “New Connected App.”
- Basic Information:
- Enter a “Connected App Name” (e.g., “Juvo Leads”).
- Enter an “API Name” (automatically generated).
- Enter a “Contact Email.”
- Enable OAuth Settings:
- Check the “Enable OAuth Settings” box.
- Enter a “Callback URL.” This is the URL where Salesforce will redirect the user after authorization. For testing, you can use
http://localhost:3000/callbackor a similar placeholder. - Select the OAuth Scopes:
- “Access and manage your data (api).”
- “Perform requests at any time (refresh_token, offline_access).”
- Click “Add.”
- Save the Connected App: Click “Save.”
- Get Consumer Key and Secret:
- After saving, click “Manage Consumer Details.”
- Copy the “Consumer Key” and “Consumer Secret.” These are crucial for OAuth authentication.
III. Obtaining the OAuth Authorization URL:
-
Your OAuth URL (Example): https://yourdomain.my.salesforce.com/services/oauth2/
IV. Getting the Lead Endpoint URL:
-
Your Lead Endpoint URL (Example): https://yourdomain.my.salesforce.com/services/data/vXX.0/sobjects/Lead/
VI. Creating POST Fields for Lead Creation:
-
Lead Fields: Use the API names of the lead fields. You can find these in Salesforce Setup under “Object Manager” -> “Lead” -> “Fields & Relationships.”



