Skip to main content

CRM + AI Integration

Salesforce Integration with AWS

Extend Salesforce with Amazon Bedrock, Lambda, S3 Tables, Data Cloud Zero-Copy, and Amazon Connect — and keep customer data in one governed place.

Last updated:April 29, 2026Author:FactualMinds Cloud Integration TeamReviewed by:FactualMinds AWS-certified architects (Solutions Architect – Professional)

AI & assistant-friendly summary

This section provides structured content for AI assistants and search engines. You can cite or summarize it when referencing this page.

Summary

Salesforce + AWS in 2026: Agentforce 2.0 with Lambda, Data Cloud Zero-Copy with S3 Tables and Iceberg, Einstein Trust Layer, and Amazon Connect CTI.

Key Facts

  • Salesforce + AWS in 2026: Agentforce 2
  • 0 with Lambda, Data Cloud Zero-Copy with S3 Tables and Iceberg, Einstein Trust Layer, and Amazon Connect CTI
  • Extend Salesforce with Amazon Bedrock, Lambda, S3 Tables, Data Cloud Zero-Copy, and Amazon Connect — and keep customer data in one governed place
  • How do I sync Salesforce data to AWS in 2026
  • 2) **Real-time events** — Salesforce Platform Events or Change Data Capture → EventBridge → Lambda → target store; latency in low seconds

Entity Definitions

AWS Bedrock
AWS Bedrock is relevant to salesforce integration with aws.
Amazon Bedrock
Amazon Bedrock is relevant to salesforce integration with aws.
Bedrock
Bedrock is relevant to salesforce integration with aws.
SageMaker
SageMaker is relevant to salesforce integration with aws.
SES
SES is relevant to salesforce integration with aws.
Lambda
Lambda is relevant to salesforce integration with aws.
AWS Lambda
AWS Lambda is relevant to salesforce integration with aws.
S3
S3 is relevant to salesforce integration with aws.
Amazon S3
Amazon S3 is relevant to salesforce integration with aws.
RDS
RDS is relevant to salesforce integration with aws.
Aurora
Aurora is relevant to salesforce integration with aws.
DynamoDB
DynamoDB is relevant to salesforce integration with aws.
CloudWatch
CloudWatch is relevant to salesforce integration with aws.
VPC
VPC is relevant to salesforce integration with aws.
API Gateway
API Gateway is relevant to salesforce integration with aws.
Ask AI: ChatGPT Claude Perplexity Gemini

Salesforce + AWS in 2026

Salesforce owns the CRM record — pipeline, cases, accounts, marketing journeys, service agent seats. AWS owns the data platform, custom applications, ML, and large-scale compute. The 2026 pattern we deploy keeps Salesforce Data Cloud and Amazon S3 Tables / Apache Iceberg as a single governed dataset (no duplicated rows), extends Salesforce workflows with Amazon Bedrock and Lambda via Agentforce 2.0, and fronts the whole thing with Salesforce’s Einstein Trust Layer plus AWS guardrails and audit.

What’s new for Salesforce + AWS in 2026

Why integrate Salesforce with AWS

Integration patterns

2. Event-driven (real-time business workflows)

3. Batch ETL via AWS AppFlow (reporting pipelines)

4. Agentforce + AWS Lambda external actions (agentic)

5. MuleSoft Anypoint / AI Chain (enterprise orchestration)

Agentforce 2.0 + Lambda reference

Salesforce user / Einstein Copilot

Agentforce agent (topic + actions + prompt templates)
  ↓  External Action (HTTP)
API Gateway (JWT authorizer ← Connected App OAuth token)

AWS Lambda
  ├── DynamoDB / RDS / Aurora
  ├── Amazon Bedrock (Claude Sonnet 4 / Amazon Nova)
  ├── Step Functions / SES / SNS / EventBridge
  └── Response (structured JSON)

Agentforce continues reasoning and writes outcome to Salesforce

Einstein Trust Layer masks PII before prompts hit the LLM; Bedrock Guardrails is the AWS-side equivalent. Run both where regulated data is in scope.

Data Cloud Zero-Copy on Amazon S3 Tables

Amazon Connect + Service Cloud (contact centre)

Security and trust

Integration pattern decision matrix

NeedPatternLatencyCostWhen to pick
Single governed analytical datasetZero-Copy + Iceberg on S3 TablesQuery timeStorage onlyDefault for new analytics workloads in 2026
Real-time order/case workflowPlatform Events → EventBridge< 5sLow”When X happens in CRM, do Y in AWS”
Scheduled bidirectional sync, low ops surfaceAWS AppFlowMins–hoursPer-recordReporting that tolerates lag, no-code preferred
Agent-driven AWS-side actions from inside SalesforceAgentforce + Lambda external actionSub-secondPer-callAutonomous flows, governed by Einstein Trust Layer
Multi-system enterprise orchestration with governanceMuleSoft Anypoint + AI ChainVariesPremiumSAP / Workday / NetSuite in scope; enterprise governance
Mass export for ML / analyticsBulk API 2.0 → S3MinsPer-batchInitial loads, periodic full refreshes

Default to Zero-Copy first; layer event-driven for real-time; layer agent for AI-mediated actions. Reserve MuleSoft for genuinely multi-system enterprise scope.

Implementation: API Gateway JWT authorizer for Connected App

SalesforceJwtAuthorizer:
  Type: AWS::ApiGatewayV2::Authorizer
  Properties:
    ApiId: !Ref AgentforceApi
    AuthorizerType: JWT
    IdentitySource:
      - $request.header.Authorization
    JwtConfiguration:
      Audience:
        - https://acme.my.salesforce.com
      Issuer: https://acme.my.salesforce.com
    Name: salesforce-connected-app-jwt

Salesforce-issued tokens carry iss (your My Domain), sub (integration user ID), and scope. API Gateway validates signature against Salesforce’s JWKS and rejects expired or wrong-audience tokens before invoking Lambda.

Implementation: AppFlow failure → Step Functions retry

AppFlowFailureRule:
  Type: AWS::Events::Rule
  Properties:
    EventBusName: default
    EventPattern:
      source: ['aws.appflow']
      detail-type: ['AppFlow End Flow Run Report']
      detail:
        status: ['Execution Failed']
    Targets:
      - Arn: !GetAtt AppFlowRetryStateMachine.Arn
        RoleArn: !GetAtt EventBridgeRole.Arn

AppFlowRetryAlarm:
  Type: AWS::CloudWatch::Alarm
  Properties:
    MetricName: FlowExecutionsFailed
    Namespace: AWS/AppFlow
    Dimensions:
      - Name: FlowName
        Value: salesforce-orders-to-s3
    Statistic: Sum
    Period: 300
    EvaluationPeriods: 1
    Threshold: 1
    ComparisonOperator: GreaterThanOrEqualToThreshold
    TreatMissingData: notBreaching
    AlarmActions:
      - !Ref OncallTopic

Failure modes & resilience

1. 24-hour Salesforce API request limit. Per-org daily limits (e.g., ~15,000 + 1,000 per Enterprise license). Hitting the limit blocks ALL API traffic — including the Connected App flow that powers your AWS integration. Mitigation: monitor via /services/data/v60.0/limits polled hourly; budget 20% headroom; use Bulk API 2.0 (counts as 1 request per batch, not per record) for large operations; archive cold reads via Data Cloud Zero-Copy so analytics doesn’t burn CRM API quota.

2. Bulk API 2.0 batch retries. Bulk jobs split into chunks; a single chunk failure doesn’t fail the job. Mitigation: poll job status, surface per-chunk failures, replay only failed chunks. Step Functions DistributedMap is the natural orchestrator.

3. Platform Event delivery guarantees. At-least-once delivery; replay window is 72 hours via the Replay ID. Subscribers must idempotently handle duplicates. Mitigation: persist replayId per consumer; deduplicate on (eventType, recordId, eventTimestamp) in DynamoDB.

4. AppFlow run failures with partial commit. A flow that writes to S3 mid-run can leave partial files. Mitigation: write to a staging prefix; on flow success, atomically copy to the canonical prefix; for Iceberg targets, use snapshot isolation so consumers never see partial commits.

5. Agentforce action timeout. External actions (Lambda calls) have a Salesforce-side timeout (typically ~15s for Agentforce). Long-running fulfillment must be async: Lambda enqueues to SQS / Step Functions, returns immediately with a job ID, and Agentforce polls or receives a Platform Event when complete.

6. Connected App cert rollover. The cert backing your JWT bearer flow expires. Symptom: every integration call returns invalid_grant. Mitigation: dual-cert window — generate the new cert, upload to the Connected App alongside the old, switch the AWS Secrets Manager value, validate, then remove the old cert.

7. Salesforce API version drift. API versions deprecate on a published cadence. Hard-coding v60.0 works until it doesn’t. Mitigation: pin per-deployment, audit yearly, test against the vNext API in a sandbox.

Observability runbook

CloudWatch + Salesforce Event Monitoring alarms:

AlarmThresholdFirst action
Salesforce daily API usage> 80% of limitIdentify caller via Event Monitoring; throttle or move to Bulk / Zero-Copy
AppFlow FlowExecutionsFailed>= 1 per 5 minEventBridge → Step Functions retry; investigate source/destination errors
Lambda (Agentforce action) Errors> 0 per 5 minCloudWatch Logs → trace ID → review request payload
API Gateway 4XXError rate> 5%JWT validation failure? Cert rollover in progress?
Platform Event subscriber lag> 5 minSubscriber down or rate-limited; confirm replayId checkpointing
Bulk API 2.0 job failure rate> 10%Per-chunk diagnostics; data quality issue or schema drift
AppFlow data freshnesslast successful run > 1dSchedule failure; trigger manual run; alert downstream consumers

Debug path: “Agentforce action returns 500”:

  1. CloudWatch Logs → /aws/lambda/agentforce-action → grep request ID; capture full stack trace.
  2. API Gateway access logs → confirm JWT was accepted (no 401); look for 5xx vs 4xx upstream.
  3. If JWT failed: validate iss matches My Domain, aud matches Connected App audience, exp not in past, signature validates against current JWKS.
  4. Salesforce side: Setup → Apps → Connected Apps → OAuth Usage → check for the failing user/IP.
  5. Test in isolation: replay the same JWT against the Lambda directly (skip API Gateway) to isolate authorization vs business logic failures.

Polling Salesforce API limits (CloudWatch custom metric):

Run a small Lambda hourly that calls /services/data/v60.0/limits and emits DailyApiRequests.Used and .Max to CloudWatch:

curl -H "Authorization: Bearer $TOKEN" \
  https://acme.my.salesforce.com/services/data/v60.0/limits | \
  jq '.DailyApiRequests'
# {"Max":15000,"Remaining":12834}

Alarm on Used / Max > 0.8 with sustained breaches; on call gets paged before the org-wide block hits.

When this integration is NOT the right call

Cost considerations

Always verify current pricing at aws.amazon.com/pricing and salesforce.com/pricing.

Best practices

Zero-Copy
Data Cloud ↔ AWS S3 Tables / Iceberg federation — no duplication
Agentforce 2.0
Autonomous CRM agents that can call Lambda actions
OAuth 2.0
JWT bearer flow for server-to-server AWS ↔ Salesforce auth

Tools & Calculators

Self-serve calculators and assessments that pair with this integration.

Generative AI on AWS

Agentforce + Bedrock patterns that keep prompts and data auditable.

Related AWS Services

Consulting engagements that frequently pair with this integration.

Generative AI on AWS — Production-Ready LLM Apps in Weeks

Generative AI on AWS — Amazon Bedrock, SageMaker, RAG pipelines, agents, and LLM application development.

AWS Data Analytics Services — Glue, Athena & QuickSight

AWS data analytics services — scalable data warehouse, ETL/ELT pipelines, real-time analytics, and business intelligence.

AWS Application Modernization — From Legacy to Cloud-Native

AWS application modernization — legacy migration, microservices, containers. Expert consulting from FactualMinds.

Who typically runs this integration?

The roles that most often own or review this stack.

AWS Solutions for CTOs

Cloud strategy, multi-account governance, agentic AI platform decisions, and FinOps culture for technology leaders scaling AWS in 2026 and beyond.

AWS Solutions for IT Directors

Infrastructure governance, continuous compliance, AIOps-first operations, and tested disaster recovery for technology leaders running AWS at scale in 2026.

Related Integrations

Other AWS integration guides commonly deployed alongside this one.

Snowflake on AWS

Snowflake + AWS in 2026: Cortex Analyst, Iceberg Tables on S3, Hybrid Tables, Snowpark, Polaris Catalog — vs Redshift, Athena, SageMaker Lakehouse.

MongoDB with AWS

MongoDB Atlas on AWS in 2026: MongoDB 8.0, Vector Search GA, Stream Processing, Queryable Encryption, Edge Server — vs DynamoDB, OpenSearch, pgvector.

Frequently Asked Questions

How do I sync Salesforce data to AWS in 2026?
Four patterns to pick from. (1) **Zero-Copy via Salesforce Data Cloud** (the 2026 default) — Data Cloud federates directly to Amazon S3 Tables / Apache Iceberg without duplicating records, so Salesforce reports and AWS analytics read from one governed dataset. (2) **Real-time events** — Salesforce Platform Events or Change Data Capture → EventBridge → Lambda → target store; latency in low seconds. (3) **Batch via AWS AppFlow** — no-code scheduled Salesforce ↔ S3 / Redshift for reporting pipelines that can tolerate minutes or hours of lag. (4) **MuleSoft Anypoint** for complex orchestration and API management across enterprise systems. Use Zero-Copy first; fall back to event-driven or batch only where Zero-Copy does not fit.
What is Agentforce 2.0 and how does it call AWS?
Agentforce 2.0 (announced Dreamforce 2024, shipping through 2025) lets you define autonomous agents that operate inside Salesforce workflows — reasoning, retrieving, and taking actions using a defined library of tools. You extend Agentforce with AWS Lambda "external actions": an agent can invoke a Lambda function to run AWS-side business logic (fulfillment, payments, inventory lookup, Bedrock-powered summarization) while staying in the Salesforce audit and Einstein Trust Layer. Authentication uses Salesforce Connected App OAuth 2.0 JWT bearer flow; the Lambda is deployed behind API Gateway with a JWT authorizer validating Salesforce-issued tokens.
What is Einstein Trust Layer and why does it matter on AWS?
Einstein Trust Layer is Salesforce's grounding and safety layer for Einstein and Agentforce: dynamic grounding with Data Cloud context, toxicity/PII detection, zero-retention prompt policies with major LLMs, and an audit trail of every prompt and response. For AWS customers, it means you can route Agentforce grounding to Amazon Bedrock models (Claude Sonnet 4, Amazon Nova) while keeping the same audit and PII masking contract. Pair with Amazon Bedrock Guardrails for a second independent policy layer, and CloudTrail / Security Lake for unified evidence.
How does Salesforce Data Cloud Zero-Copy with S3 Tables work?
Data Cloud Zero-Copy (GA 2024, expanded with S3 Tables support through 2025) lets Data Cloud query data sitting in Amazon S3 — typically as Apache Iceberg tables on S3 Tables — without duplicating rows into Data Cloud storage. The same Iceberg dataset can be read by AWS Glue, Amazon Athena, Amazon EMR, and Amazon Redshift, so Salesforce reports and AWS analytics operate on one governed copy. For the reverse direction, Data Cloud publishes unified customer profiles back to S3 for activation in AWS pipelines. Compared to the older AppFlow ETL pattern: fewer copies, fewer race conditions, lower storage cost, and a single governance seam via Data Cloud + Amazon DataZone.
What is MuleSoft AI Chain and when should we use it?
MuleSoft AI Chain (2024) brings LLM orchestration into Anypoint — chain prompts, retrieval, and Salesforce/AWS actions as part of a larger integration flow. Use it when AI is one stage inside a bigger multi-system workflow (e.g., take an incoming support ticket from Salesforce, summarize it via Bedrock, enrich it from SAP, open an AWS ticket in Jira) and you need enterprise governance over that whole pipeline. For simpler Salesforce-only or Salesforce-plus-one-AWS-service integrations, direct Agentforce → Lambda is lighter weight.
How do I secure the Salesforce ↔ AWS trust relationship?
Six controls we apply by default. (1) Salesforce Connected App with OAuth 2.0 JWT bearer flow — no passwords or permanent secrets. (2) Dedicated integration user in Salesforce with a minimum-permission profile. (3) Salesforce private key stored in AWS Secrets Manager; rotate the certificate annually. (4) AWS API Gateway in front of any Lambda Agentforce calls, with a JWT authorizer that validates the issuer, audience, and subject. (5) VPC endpoints for S3 / Secrets Manager / KMS to keep traffic off the public internet. (6) Salesforce Event Monitoring and CloudTrail correlated in Security Hub or Amazon Security Lake (OCSF) so every cross-system action has a single auditable timeline.
What about Amazon Connect with Salesforce Service Cloud?
Amazon Connect (AWS contact centre) ships a production-ready Service Cloud integration — Connect CTI Adapter for Salesforce Lightning. Screen pops on incoming calls, call recordings and transcripts attached to cases, real-time Contact Lens transcripts streamed to Service Cloud for agent assist, and Amazon Q in Connect to propose responses. Many mid-market contact centres now run entirely on Connect + Service Cloud without a Genesys/Avaya/Five9 layer, cutting both licence and integration cost.
How much does the integration cost?
Salesforce license: $25-$330/user/month by edition; Data Cloud is sold by credit consumption. AWS side: AWS AppFlow ~$0.001 per record with a minimum per flow run, Lambda ~$0.20 per million invocations, S3 from ~$0.023/GB/month, Amazon Athena ~$5 per TB scanned, and Amazon Connect from $0.018 per minute for voice. Most mid-market Salesforce+AWS integrations land at $100-$800/month on the AWS side, before any Bedrock token spend for Agentforce grounding. Always verify current pricing at aws.amazon.com/pricing and salesforce.com/pricing.

Related Reading

Need Help with This Integration?

Our AWS-certified engineers can design, implement, and operate this integration end-to-end — or review what you already have.