Salesforce
Sonora connects to Salesforce to sync your CRM data, giving you insights across accounts, contacts, opportunities, and more.
Prerequisites
- Salesforce admin access
- Ability to create Connected Apps
Setup Steps
1. Create a Connected App
- Go to Setup → App Manager
- Click New Connected App
- Fill in basic information:
- Connected App Name: Sonora Integration
- API Name: Sonora_Integration
- Contact Email: Your email
- Enable OAuth Settings:
- Check Enable OAuth Settings
- Callback URL:
https://app.usesonora.com/oauth/callback - Select required OAuth scopes (see below)
- Save the Connected App
2. Configure OAuth Scopes
Select these OAuth scopes for the Connected App:
api- Access and manage your datarefresh_token, offline_access- Perform requests at any time
3. Enable Client Credentials Flow
- Go to Setup → App Manager
- Find your Connected App and click Manage
- Click Edit Policies
- Under OAuth Policies:
- Set Permitted Users to “Admin approved users are pre-authorized”
- Enable Client Credentials Flow
- Save
4. Assign User to Connected App
- Go to Setup → App Manager
- Find your Connected App and click Manage
- Under Profiles or Permission Sets, add the appropriate users/profiles
5. Get Credentials
- Go to Setup → App Manager
- Find your Connected App and click View
- Copy the Consumer Key and Consumer Secret
6. Connect in Sonora
- Go to Settings → Integrations in Sonora
- Click Add Integration → Salesforce
- Enter your credentials:
- Consumer Key
- Consumer Secret
- Instance URL (e.g.,
https://yourcompany.salesforce.com)
- Click Connect
Data Synced
Sonora syncs the following Salesforce objects:
- Accounts
- Contacts
- Opportunities
- Cases
- Tasks
- Notes
Troubleshooting
Authentication Errors
- Verify the Consumer Key and Consumer Secret are correct
- Ensure the Connected App has Client Credentials Flow enabled
- Check that the integration user has appropriate permissions
Missing Data
- Verify the integration user has access to the objects you want to sync
- Check field-level security settings for required fields