What Sofie can use
Depending on Salesforce permissions and Sofie configuration, Sofie may help with:- Searching account, contact, opportunity, or custom-object records.
- Reading Salesforce record details.
- Summarizing quality, customer, or project follow-up from CRM records.
- Preparing record updates for review.
- Using Salesforce context in chat or workflow handoff.
Before you start
You need:- Salesforce administrator access.
- Permission to create or manage a connected app.
- The Sofie domain users open in the browser.
- Access to Sofie Organization Settings > Integrations.
- A decision about production, sandbox, or My Domain login.
Callback URL
Add this callback URL to the Salesforce connected app:Create a Salesforce connected app
Create a connected app
Use App Manager or the connected app setup path available in your Salesforce org, then create a new connected app.
Enter basic information
Use a clear name such as
Sofie Salesforce Integration and add the administrator contact email.Configure OAuth scopes
Sofie commonly needs these Salesforce OAuth scopes:| Scope | Why Sofie may need it |
|---|---|
api | Access Salesforce data through Salesforce APIs according to the connected user’s permissions. |
refresh_token | Keep the connection available after the initial sign-in. |
offline_access | Support continued access where your Salesforce OAuth policy requires it. |
Copy Salesforce values
After saving the connected app, copy the values Salesforce provides.| Sofie field | Salesforce value |
|---|---|
| Client ID | Consumer Key. |
| Client Secret | Consumer Secret when required by your Salesforce policy. |
| Auth Base URL | Login host, such as https://login.salesforce.com, https://test.salesforce.com, or your My Domain URL. |
Some Salesforce configurations may allow a public-client or PKCE-style setup. If your Sofie screen marks the secret optional, follow your organization’s Salesforce OAuth policy.
Choose the auth base URL
Use the URL that matches the Salesforce org users should connect.| Salesforce environment | Auth base URL |
|---|---|
| Production | https://login.salesforce.com |
| Sandbox | https://test.salesforce.com |
| My Domain | https://<your-domain>.my.salesforce.com |
Add values in Sofie
In Sofie, go to Organization Settings > Integrations and open Salesforce. Enter:- Client ID.
- Client Secret if required.
- Auth Base URL.
Test the connection
Test write behavior carefully
If write actions are enabled, use a test record and require Sofie to preview all field changes before updating anything.
User prompt examples
Troubleshooting
Users cannot connect Salesforce
Users cannot connect Salesforce
Confirm Salesforce is enabled in Sofie, the callback URL matches exactly, the auth base URL points to the right Salesforce org, and the connected app has the approved OAuth scopes.
Sofie cannot find a record
Sofie cannot find a record
Confirm the connected Salesforce user can see the record directly in Salesforce. Sofie follows the connected account’s access.
A sandbox user reaches production
A sandbox user reaches production
Check Auth Base URL. Use
https://test.salesforce.com or your sandbox My Domain for sandbox testing.Record updates fail
Record updates fail
Check Salesforce object permissions, field-level security, validation rules, required fields, and whether the connected app policy allows the requested action.