Why Ingest Salesforce Data?
Knowledge Base Sync
Import your Salesforce Knowledge articles as AI knowledge sources
SOQL-Powered Selection
Use SOQL WHERE clauses to import specific articles
Images Included
Embedded and attached images are indexed too
Auto-Sync
Backfill jobs automatically import new articles on a schedule
What Gets Indexed
| Content Type | What’s Included |
|---|---|
| Articles | Full article content from Knowledge Base |
| Images | Embedded images and attached files |
| Metadata | Title, summary, language, publish status |
Self-hosted: This integration is in beta for selected users.
Cloud: Available to all users.
Setup
Get Salesforce Security Token
- Go to your Salesforce security token settings:
- Click Reset Security Token
- Check your email for the new security token
Navigate to Salesforce Integration
Go to Gurubase Dashboard → Select your Guru → Integrations → Ingestions → Salesforce
Adding Salesforce Content
After connecting, you can import articles in two ways:
Option 1: Add Individual Articles
Best for importing specific articles by URL or SOQL filter.
| Setting | Description |
|---|---|
| URLs | Enter article URLs, one per line |
| SOQL WHERE Clause | Filter articles with SOQL criteria |
Option 2: Create Backfill Job
Best for bulk imports and automatic ongoing sync.
| Setting | Description |
|---|---|
| SOQL WHERE Clause | Query to select which articles to import |
| Sync Interval | How often to check for new articles (minimum 1 hour) |
| Sync Now | Manually trigger an immediate sync |
Example SOQL WHERE Clauses
Knowledge Base Requirements
Gurubase queries theKnowledge__kav table with these fields:
| Field | Description |
|---|---|
Id | Unique article identifier |
Title | Article title |
Summary | Article summary |
LastModifiedDate | Last modification date |
UrlName | URL-friendly name |
PublishStatus | Publication status |
Language | Article language |
ArticleBody__c | Main article content |
Viewing Indexed Content
Imported articles appear as individual sources in your Guru’s data sources list. You can:- View the exact content that was indexed
- Remove specific articles
- Check when content was last synced

