Setting up Salesforce and Salesforce Service Cloud as a Source
Connecting Salesforce or Salesforce Service Cloud as a Source in Guru allows teams to seamlessly bring critical customer and sales information into their knowledge workflows. This article explains how to set up each one.
Access RequiredGuru Access: You need to be an Admin, Source Creator, or relevant custom role to set up Sources.
Salesforce Access: you will need API Access, which is available in the following editions per Salesforce Help Page: Enterprise Edition, Unlimited Edition, Developer Edition, Performance Edition
- A valid Salesforce User with API Access enabled can be used to access the API, per the Salesforce Developer site . You do not need to be an Admin in Salesforce to connect.
Setting Up Salesforce as a Source
- Navigate to Manage > Sources.
- Select Salesforce from the icon menu.
- Select Authorize Access.
- Optional: Rename the Source
 
- If you'd like to use your credentials to complete the process, select "Use my credentials (recommended)."
- Click *Next.
- *Enter your subdomain in the linking flow.and click Next.
Log in to your Salesforce account and note your subdomain.
- For example, if you sign in at acme.service-now.com, enteracme.
 
- For example, if you sign in at 
- Enter your Salesforce credentials. Provide your username and password that you use to log into Salesforce.
- Follow the prompts to complete the setup.
 
- If you'd like to use a security token to organization ID to complete the process, select Salesforce Security token and Organization ID
- Click Next.
- To find or reset your Security Token:
- From your personal settings, enter Reset in the Quick Find box.
- Select Reset My Security Token, then click Reset Security Token.
- Your new token will be sent to the email address listed in your Salesforce personal settings.
 
- To locate your Organization ID:
- In Classic: Go to Setup > Administer > Company Profile > Company Information.
- In Lightning: Click the Gear icon > Setup > Company Settings > Company Information.
- Enter both values in the linking flow when prompted.
 
- Follow the prompts to complete the setup.
 
Objects Synced from Salesforce CRM
Primary objects are the objects used to generate the search record.
| Salesforce CRM Category | Common Model / What You'll See During Setup | Objects/Data Brought In | Key Fields | 
|---|---|---|---|
| Opportunities | Primary Object: Opportunity | Deal opportunities and sales pipeline | โข Name โข Description โข Amount โข Owner โข Account โข Stage โข Status โข Last activity at โข Closed at โข Remote created at โข Remote ID โข Remote data | 
| Accounts | Primary Object: Account | Companies and organizations | โข Name โข Description โข Industry โข Website โข Number of employees โข Addresses โข Phone numbers โข Owner โข Last activity at โข Remote created at โข Remote updated at โข Remote ID โข Remote data | 
| Users | User | CRM users with login access | โข Name โข Email โข Is active โข Remote ID โข Remote data | 
| Notes | Note | Notes on other objects | โข Content โข Owner โข Contact โข Account โข Opportunity โข Remote created at โข Remote updated at โข Remote ID โข Remote data | 
| Stages | Stage | Opportunity pipeline stages | โข Name โข Remote ID โข Remote data | 
| Tasks | Task | To-do items and activities | โข Subject โข Description โข Status โข Due date โข Owner โข Account โข Contact โข Opportunity โข Completed date โข Remote created at โข Remote updated at โข Remote ID โข Remote data | 
Setting Up Salesforce Service Cloud as a Source
- Navigate to Manage > Sources.
- Select Salesforce from the icon menu.
- Select Authorize Access.
- Optional: Rename the Source
 
- Click Next.
- Under Ticket modified at > Is greater than or equal to, set the sync to begin from your chosen date.
- You have the option to add additional filters, as well, by clicking +Filter.
 
- Click Next.
- Enter your page domainand click Next.
- For example, if you sign in at https://mydomain.lightning.force.com..., entermydomain.
 
- For example, if you sign in at 
- Enter your Salesforce credentials. Provide your username and password that you use to log into Salesforce.
- Follow the prompts to complete the setup.
Objects Synced
| Salesforce Service Cloud Category | Common Model / What You'll See During Setup | Objects/Data Brought In | Key Fields | 
|---|---|---|---|
| Tickets | Ticket | Cases and support tickets | โข Name โข Description โข Status โข Priority โข Ticket type โข Ticket URL โข Account โข Contact โข Creator โข Assignees โข Assigned teams โข Collections โข Parent ticket โข Completed at โข Due date โข Remote created at โข Remote updated at โข Remote ID โข Remote data | 
| Comments | Comment | Case comments and replies | โข Body โข HTML body โข Is private โข User โข Contact โข Ticket โข Remote created at โข Remote ID โข Remote data | 
| Accounts | Account | Companies associated with cases | โข Name โข Domains โข Remote ID โข Remote data | 
| Users | User | Service Cloud agents and admins | โข Name โข Email address โข Is active โข Avatar โข Roles โข Teams โข Remote ID โข Remote data | 
| Collections | Collection | Queues and case groupings | โข Name โข Description โข Collection type โข Parent collection โข Remote ID โข Remote data | 
Permissions
- When you connect Salesforce as a source in Guru, you'll permission that content in Guru. Learn more here.
- If someone is not provided with access in Guru to this source, they will not see Salesforce results in searches or when chatting with Guru.
Frequently asked questions
How do I connect my Salesforce sandbox (not production) to Guru as a source?
When connecting a Salesforce sandbox to Guru, you'll need to modify the redirect URL. By default, Guru shows the production link with your custom domain (e.g., yourcompany--dev). To connect your sandbox instead, add .sandbox to your custom domain.
For example:
Default (production): yourcompany--dev Sandbox version: yourcompany--dev.sandbox
Enter the sandbox version (yourcompany--dev.sandbox) when setting up the source connection, and you'll be able to successfully create the source with your sandbox environment.
Can I sync Custom Objects into Guru?
Yes, you can sync customer objects by connecting a separate source for Salesforce SOQL. If you'd like to explore this, contact Guru support by emailing [email protected] and we'll provide you with support!
Can I sync Custom Fields into Guru?
Yes, Guru can sync custom fields from the Account and Opportunity objects.
What about Lookup or Master-Detail fields? If the field is a Lookup or Master-Detail type (meaning it references another object and appears as a clickable blue link in Salesforce), Guru will display the 18-digit Salesforce record ID instead of the related recordโs name. This is expected behavior, as Guru is pulling the stored value directly from Salesforce.
What should I do if I see "error authenticating. please close window and try again"?
This error occurs when the connected app is blocked in your Salesforce instance. A Salesforce admin needs to unblock the app before you can complete the connection.
To unblock the app:
- 
Access the Connected Apps settings. A Salesforce admin must navigate to: https://{your-subdomain}.my.salesforce-setup.com/lightning/setup/ConnectedAppsUsage/home. Replace{your-subdomain}with the subdomain you entered in the "Enter your subdomain" step during the Guru linking process.
- 
Check for a blocked Merge app in Salesforce. Locate the Merge connected app in the list. If it's blocked, click Unblock in the Actions column. Merge facilitates the sync between Salesforce and Guru. 
- 
Retry the linking process. Return to Guru and attempt to connect your Salesforce source again. 
Updated 7 days ago
