Salesforce Integration Development Guide
Add white-label customer-facing integration with Salesforce into your app with just a few lines of code.
Salesforce Configuration Guide
This guide will walk you through configuring Salesforce integration using Connected Apps.
Overview
Prerequisites
- A Salesforce account (you can get a free developer account at https://developer.salesforce.com/)
- System Administrator permissions in Salesforce
Step 1: Enable Connected App Creation
Before creating a Connected App, you need to enable this feature in your Salesforce settings:
- Log in to your Salesforce account
- Click the Setup gear icon in the top right
- In the Quick Find box, search for "App Manager"
- Navigate to Setup > Apps > App Manager > External Client Apps > Settings
- Turn on Allow creation of connected apps, if it's off
Note: See Salesforce Documentation on Connected Apps for more details.
Step 2: Create a Connected App
-
In the App Manager > External Client Apps > Settings, click the New Connected App button
-
Fill in the Basic Information:
- Connected App Name: Choose a descriptive name (e.g., "YourCompany Integration")
- API Name: Auto-populated based on the name
- Contact Email: Your email address
-
Configure API (Enable OAuth Settings):
- Check Enable OAuth Settings
- Callback URL: Enter
https://api.integration.app/oauth-callback - Use digital signatures: Leave unchecked
-
Select OAuth Scopes:
Add the following scopes (use the arrow to move them to "Selected OAuth Scopes"):
- Full access (full) - For comprehensive API access
- Perform requests at any time (refresh_token, offline_access) - For persistent access
- Access the identity URL service (id, profile, email, address, phone) - For user identification
- Manage user data via APIs (api) - For standard API operations
-
Click Save
-
Click Continue on the confirmation page
Step 3: Retrieve OAuth Credentials
After creating the Connected App, you need to get your OAuth credentials:
- Click Manage Consumer Details button
- You may need to verify your identity via email or authenticator
- Copy the following values:
- Consumer Key (this is your Client ID)
- Consumer Secret (this is your Client Secret)
Important: Keep these credentials secure. Do not share them publicly or commit them to version control.
Step 4: Configure Integration in Membrane
-
Log in to the Membrane console at https://console.integration.app/
-
Navigate to Apps > Integrations
-
Find and select Salesforce from the list
-
Enter your OAuth credentials in the Parameters section:
- Client Id: Paste the Consumer Key from Step 3
- Client Secret: Paste the Consumer Secret from Step 3
-
Click Save