> ## Documentation Index
> Fetch the complete documentation index at: https://docs.monumint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce Overview

> Sync people from Salesforce into Monumint and log the agent's work back to Salesforce.

![Salesforce integration tile on the Integrations page](https://mintcdn.com/omniai/5EsVoTZnq-v8uzi1/images/integrations/salesforce/integration-tile.png?fit=max\&auto=format\&n=5EsVoTZnq-v8uzi1\&q=85\&s=3a6821c8c03b21b30a9d7dc6b50e84be)

Sync people from Salesforce into Monumint, let the AI agent reach out to the ones you choose, and keep Salesforce as your system of record.

## Setup

1. **[Authentication](https://docs.monumint.com/integrations/salesforce/authentication.md)**: Connect your org through OAuth with a dedicated integration user.
2. **[Permissions](https://docs.monumint.com/integrations/salesforce/permissions.md)**: Give the integration user access to the records and fields the agent needs.
3. **[Audience](https://docs.monumint.com/integrations/salesforce/audience.md)**: Write the query that decides which people sync into Monumint.
4. **[Field Mappings](https://docs.monumint.com/integrations/salesforce/field-mapping.md)**: Tell Monumint which Salesforce field holds each lead detail.
5. **[Agent Active](https://docs.monumint.com/integrations/salesforce/agent-active.md)**: Choose which synced people the AI agent works.

## What the integration does

**Reads people from Salesforce.** Every 10 minutes, Monumint runs your audience query against your Salesforce org. Each row becomes a lead in Monumint. Rows that were already imported are updated in place, so a person is never imported twice.

**Decides who the AI agent works.** The active filter decides which synced records are assigned to the AI agent. Everyone else still syncs, but is assigned to your team. Because the filter is checked on every sync, you can turn the agent on or off for a person by changing a field in Salesforce.

**Writes activity back to Salesforce.** Every email and SMS the agent sends or receives is logged as a completed Task on the Salesforce record, so it appears in the record's activity timeline. Documents uploaded in Monumint are attached to the record as Files, and Files already in Salesforce are imported into the lead's [Document Vault](https://docs.monumint.com/leads/document-vault.md). Lead fields you map are written back to Salesforce when they change in Monumint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.