Salesforce Connection Setup
Overview
This guide describes how to establish a secure connection between BookMe and your Salesforce organization through the Management UI. This automated setup process eliminates the need for manual configuration of authentication providers, named credentials, and remote site settings.
Prerequisites
- BookMe package version 1.14 or above installed in your Salesforce org
- Administrator access to both Salesforce and the BookMe Management UI
- An integration user account in Salesforce with appropriate permissions
Connection Setup Process
Step 1: Configure External Client App in Salesforce
The BookMe package includes an External Client App that enables secure communication between BookMe and Salesforce.
- Navigate to External Client App Manager in Salesforce Setup
- Find
BookMe External Client Appin the list - Click Edit Policies on the app
- In the OAuth Policies section:
- Enable Client Credentials Flow
- Add an integration user that will be used for the connection
- This user should have appropriate permissions to manage BookMe-related objects

Integration User Requirements
The selected integration user must have:
- Access to BookMe objects and fields
- API access permissions
- Appropriate profile or permission sets assigned
Step 2: Configure Salesforce Domain in Management UI
- Navigate to Admin → CRM → Configuration in the BookMe Management UI
- Enter your Salesforce domain name in the Salesforce Configuration section
- Format: Enter only the subdomain (e.g.,
yourcompany) - The system automatically formats it as
https://yourcompany.my.salesforce.com
- Format: Enter only the subdomain (e.g.,
- Click Save to store the domain configuration

Step 3: Test the Backend-to-Salesforce Connection
Before provisioning, verify that BookMe can connect to your Salesforce org:
- In the Test CRM Connection section
- Click the Test button
- Wait for the connection test to complete
- A successful test shows a green success message
- If the test fails, verify:
- The domain name is correct
- The External Client App is properly configured
- The integration user has appropriate permissions
Step 4: Provision the BookMe Connection
Once the backend connection is verified, provision the connection from Salesforce to BookMe:
- In the BookMe Connection section
- Click the Provision BookMe Connection button
- The provisioning process will automatically:
- Create Remote Site Settings in Salesforce
- Configure Auth Providers
- Set up Named Credentials
- Push necessary credentials to your Salesforce org
If the provision button shows a warning about missing credentials, contact &money support for assistance.
Step 5: Verify the Named Credential in Salesforce
After provisioning, verify the connection in Salesforce:
- Navigate to Setup → Named Credentials in Salesforce
- Find the newly created BookMe named credential
- Edit the named credential
- Check the Start Authentication Flow on Save checkbox
- Click Save
- The authentication should complete successfully
If authentication succeeds, your Salesforce org is now connected to the BookMe backend.
Connection Status Indicators
The Management UI provides visual status indicators for the connection:
- ✅ Green checkmark: Connection successful and active
- ⚠️ Yellow warning: Connection pending or requires attention
- ❌ Red error: Connection failed (check the error message for details)
Troubleshooting
Common Issues
“Missing Credentials” Warning
- Cause: Backend credentials not configured for your organization
- Solution: Contact &money support to provision backend credentials
Test Connection Fails
- Possible Causes:
- Incorrect domain name
- External Client App not configured properly
- Integration user lacks permissions
- Solutions:
- Verify the domain name (should not include https:// or .my.salesforce.com)
- Check External Client App configuration
- Ensure integration user has API access and BookMe permissions
Provisioning Fails
- Possible Causes:
- Network connectivity issues
- Insufficient permissions in Salesforce
- Existing conflicting configuration
- Solutions:
- Retry the provisioning process
- Check Salesforce logs for detailed error messages
- Verify no existing Auth Providers or Named Credentials conflict
Named Credential Authentication Fails
- Cause: OAuth flow cannot complete
- Solutions:
- Verify Remote Site Settings were created
- Check Auth Provider configuration
- Ensure the integration user is active
- Try re-provisioning the connection
Security Considerations
- All connections use OAuth 2.0 with Client Credentials flow
- Credentials are encrypted in transit and at rest
- No passwords are stored or transmitted
- Integration user permissions limit the scope of access
- All communication occurs over HTTPS
Next Steps
Once the connection is successfully established:
- Deploy the iframe LWC component to enable embedded booking
- Configure the component for your specific use cases
- Set up custom metadata for meeting configurations
Support
If you encounter issues during setup:
- Check the Salesforce Setup Audit Trail for detailed logs
- Review the Management UI logs for connection errors
- Contact &money support with:
- Your Salesforce org ID
- Error messages received
- Steps attempted