Skip to content

How to Connect Salesforce to ChatGPT with CorpusIQ MCP

Your Salesforce account holds critical business data — but accessing insights usually means logging in, navigating dashboards, and running manual reports. Connecting Salesforce to ChatGPT through CorpusIQ MCP eliminates all that friction. Once connected via a secure OAuth flow, ChatGPT can query your live Salesforce data directly — you ask questions in plain English, and get cited answers drawn from your actual account, not outdated exports or screenshots.

Once connected, ChatGPT can query your live Salesforce data — accounts, opportunities, contacts, leads, cases, and custom objects — in plain English. Your sales team, executives, and operations staff get CRM answers without logging into Salesforce.

This page covers the architecture, what you can ask, enterprise security considerations, and how MCP compares to direct Salesforce API integration.

FAQ: Common Questions

What Salesforce data can ChatGPT access? CorpusIQ provides MCP tools that map to core Salesforce objects: Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. ChatGPT can search across these objects, retrieve individual records, list records with filters, and combine data across multiple objects. All access is read-only — no create, update, or delete operations exist.
What questions can I ask ChatGPT about Salesforce? Sales pipeline questions: "What's our pipeline value by stage?", "Show me opportunities closing this quarter over $100K", "Which opportunities have been in the same stage for over 30 days?" Account questions: "Give me a 360 view of Acme Corp — all contacts, open opportunities, recent cases." Lead questions: "Show me new leads from this week sorted by score", "Which leads haven't been contacted yet?" Case questions: "How many open cases do we have by priority?", "Show me cases that have been open for over 5 days."
How does the connection work? CorpusIQ connects to Salesforce via OAuth 2.0. You authorize read-only access to your Salesforce org, then connect the CorpusIQ MCP server to ChatGPT. ChatGPT discovers the available Salesforce tools and calls them in response to natural language questions. The MCP server handles SOQL/SOSL query construction, pagination, and rate limiting automatically — you never write a query.
Is the connection read-only? Yes, completely read-only. CorpusIQ requests the minimum OAuth scopes needed for data access. The MCP tools are exclusively query operations. ChatGPT can read your CRM data but cannot create, update, or delete records. This is enforced at the OAuth permission layer and at the MCP tool level.
How does this handle Salesforce's data model complexity? Salesforce has a deeply customizable data model with standard objects, custom objects, custom fields, and complex relationships. CorpusIQ's MCP layer abstracts this complexity. When you ask a natural language question, ChatGPT calls the appropriate tool, which handles the SOQL/SOSL construction behind the scenes. Custom fields and objects are accessible — just reference them in your question.
Can ChatGPT handle Salesforce reports and dashboards? ChatGPT doesn't replace Salesforce reports and dashboards — it complements them. For scheduled, recurring reports that need formatting and distribution, Salesforce reports are the right tool. For ad-hoc questions that don't fit into a pre-built report, ChatGPT is faster: "Show me all opportunities where the close date slipped this month and the amount is over $50K" is a ChatGPT question, not a report you'd build once.
How does this work with Salesforce Shield and encrypted fields? CorpusIQ respects Salesforce's field-level security and encryption. If a field is encrypted or masked by Salesforce Shield, the data returned through the MCP layer reflects the user-authorized visibility — encrypted fields appear as encrypted, masked fields appear as masked. The MCP layer does not bypass Salesforce security controls.
What about multi-org Salesforce environments? You can connect multiple Salesforce orgs to CorpusIQ. Each org is isolated. You can specify which org to query in your question, or ask questions that span orgs: "Compare pipeline health across our NA and EMEA Salesforce orgs."
How is this different from Salesforce's Einstein AI? Einstein AI is purpose-built for Salesforce-native workflows — predictive scoring, opportunity insights, activity capture, and within-Salesforce recommendations. It operates inside the Salesforce interface on Salesforce data. Connecting Salesforce to ChatGPT via MCP enables cross-source analytics (combine Salesforce pipeline data with QuickBooks revenue data, Stripe payment data, or HubSpot marketing data) and lets your team ask questions in ChatGPT — the interface they may already use throughout the day.
What permissions do I need in Salesforce? You need a Salesforce user account with API access enabled and sufficient object permissions for the data you want to query. The OAuth connection requires a Salesforce admin or a user with "API Only User" or equivalent profile. Once authorized, the connected user's object-level permissions determine what data is accessible.

How It Works

  1. Connect Salesforce to CorpusIQ. Dashboard → Connections → Salesforce → sign into Salesforce → authorize read-only access. The OAuth flow respects your Salesforce org's security settings.

  2. Connect CorpusIQ to ChatGPT. Add the CorpusIQ MCP server as a connected app. ChatGPT discovers available Salesforce tools: account search, opportunity listing, contact retrieval, case queries, and custom object access.

  3. Ask natural language questions. ChatGPT maps your question to the appropriate MCP tools, constructs the necessary queries (SOQL/SOSL), and returns cited answers from live Salesforce data.

  4. Iterate. Follow-up questions maintain context. "Now show me just the opportunities over $100K" or "Which of those accounts have open cases?" — the conversation flows naturally.

No Salesforce reports to build. No SOQL to write. No data exports to manage. Just questions and answers.

Benefits

Democratized CRM access. Your marketing team, finance team, and executives can get Salesforce answers without Salesforce licenses or training. Natural language is the only interface they need.

Faster opportunity reviews. Instead of building opportunity reports and clicking through records, ask ChatGPT: "Give me a pipeline summary by rep, with amounts, stages, and close dates." Instant pipeline visibility.

Account 360 without tab-switching. "Give me everything on Acme Corp — account details, all contacts, open opportunities, recent cases, and last activity dates." One question pulls from multiple Salesforce objects simultaneously.

Cross-source intelligence. Combine Salesforce data with data from other connected tools. "Show me opportunities for accounts with overdue invoices in QuickBooks" or "Which marketing campaigns generated the most Salesforce opportunities this quarter?" The cross-source capability is unique to MCP platforms like CorpusIQ.

Enterprise governance. Read-only access, field-level security respect, audit trails, and no data duplication. Your Salesforce data stays in Salesforce. The MCP layer provides governed, ephemeral access that meets enterprise compliance requirements.

Use Cases

Executive Pipeline Review

"Summarize our global pipeline — total value, count by stage, top 10 opportunities, and deals at risk." The CEO gets a pipeline snapshot in ChatGPT without a Salesforce login, a pre-built dashboard, or a manually compiled report.

Sales Rep Daily Briefing

"What are my open opportunities? Which need follow-up today? Show me accounts I haven't contacted this week." Sales reps get a prioritized daily worklist from their CRM data.

Customer Success Monitoring

"Show me all accounts with open support cases and no activity in 48 hours." "Which customers have multiple open cases?" Customer success teams monitor account health conversationally.

Territory Planning

"Show me opportunities by region and industry. Which territories have the thinnest pipeline?" Territory analysis that would require multiple Salesforce reports becomes a single question.

Revenue Operations

"Match closed-won opportunities against recognized revenue in QuickBooks. Flag any discrepancies." Cross-source reconciliation between CRM and financial systems — a task that normally requires exporting from both systems and comparing manually.

Security: Enterprise-Grade Read-Only Access

The Salesforce integration is designed for enterprise security requirements:

  • OAuth 2.0 with read-only scopes. No write, create, update, or delete permissions.
  • Field-Level Security Respect. Salesforce field permissions are honored. Users only see what their connected account can see.
  • Encrypted Field Handling. Salesforce Shield encrypted fields remain encrypted in transit and at rest.
  • No Data Persistence. CorpusIQ does not store your Salesforce data. Queries execute, responses are delivered, data is discarded.
  • Audit Trail. Every query is logged with timestamp and source. Your Salesforce admin can track exactly what data was accessed.
  • TLS 1.3 Encryption. All data in transit between Salesforce, CorpusIQ, and ChatGPT is encrypted.

For enterprises in regulated industries (financial services, healthcare, government), this architecture meets the core requirements: no data duplication, governed access, and complete visibility into data access patterns. See our security documentation for the full compliance framework.

Comparison: MCP vs. Direct Salesforce API Integration

Aspect Direct API Integration CorpusIQ MCP
Setup Weeks — REST/SOAP API client, OAuth, SOQL/SOSL, pagination, error handling Minutes — OAuth authorization
Query interface SOQL/SOSL queries, REST endpoints, JSON parsing Natural language
Multi-object queries Must write SOQL relationships or multiple queries with merge logic Automatic — ChatGPT orchestrates multi-tool calls
Cross-source Build separate integrations for every other system One question across all connected tools
Developer dependency Every new question type requires new code No code — ask in plain English
API limits Must implement rate limit handling, batch processing CorpusIQ handles rate limits and retries
Maintenance API version migrations, security updates CorpusIQ handles all maintenance

Direct API integration is appropriate for custom Salesforce workflows that require write operations, complex automation, or deep platform integration. For data access, Q&A, and reporting — the 80% use case — MCP eliminates months of development and ongoing maintenance.

Setup Guide

  1. Sign up at corpusiq.io — free 30-day trial.
  2. Connect Salesforce. Dashboard → Connections → Salesforce → sign into Salesforce → authorize read-only access.
  3. Connect ChatGPT. Add the CorpusIQ MCP server to ChatGPT. See our Quick Start guide.
  4. Verify. Ask "How many opportunities are in my Salesforce org?" to confirm the connection.
  5. Explore. Try "Show me my top 10 opportunities by amount" or "Give me a pipeline summary."

Setup takes under 5 minutes for a connection that would take weeks to build via direct API integration.