Skip to contentIntroducing the Integration Factory
Back to Blog
Article

What Is a Solution Architecture Document for the Salesforce Security Review?

Appnigma

A solution architecture document shows how your product is built and where customer data goes. In the Salesforce security review it is the file Product Security uses to decide what to test, so it shapes how long your review takes and whether it comes back. Salesforce does not use the name "Solution Architecture Document." Its Required Materials page lists "Solution documentation" as a required item for every solution type, and the review wizard asks you to upload "your solution's architecture and usage documentation," per the Trailhead submission unit.

For a SaaS company listing a managed package or an API integration on AgentExchange (the marketplace formerly called AppExchange), this document decides the scope of the review. Every endpoint, token and data store you draw is something the reviewers will test. Anything the data touches that you leave off is the usual reason a submission comes back. Appnigma's marketplace apps team builds native Salesforce and HubSpot apps for SaaS companies. The page lists "Salesforce security review preparation and responses" as part of that work. Readers after a general enterprise architecture template want a different document. The security review version is narrower and skips most of a TOGAF style outline.

Updated October 2026. Checked against Salesforce's ISVforce Guide and the Trailhead security review module. The earlier version called this a "Solution Architecture Document," treated a user guide or a diagram as either one being enough, and promised a faster review. This update uses Salesforce's own names and adds what the diagram must show. It also covers which solution types need the document, how reviewers use it, and what gets a submission returned.

What Salesforce calls this document, and where it asks for it

Salesforce uses a few labels for the same material, and they show up at different points of the process. Knowing which one you are reading helps you match the right file to the right upload field.

Where it appearsSalesforce's wordingWhat it covers
Required Materials table"Solution documentation"Required for all six solution types
Same page, body text"detailed solution user documentation"Install, setup and use, plus your security policies
Wizard, Upload Documentation step (Trailhead)"architecture and usage documentation"The file the reviewer opens first
Security Policy Requirements"architecture diagrams"Data touch points, flows, auth and controls
Trailhead submission unit"Documentation of data flow"Data moving between the org and external parts

The wizard has two upload fields, and splitting files between them is where teams slip. Trailhead describes the first as the place for "your solution's architecture and usage documentation." The second takes "documentation for API Callouts, security scanner reports, false positives documentation, and other documentation." So the diagram and the usage guide go in the first field. A separate note on each external callout your package makes belongs in the second, next to the scan reports that test those same callouts.

The live version of this post said a user guide or a diagram would do. Salesforce's wording asks for both, and Trailhead says "Our testers like to see complete customer, admin, and user documentation." A usage guide that stops at install also misses the point. The reviewer needs to reach every screen that reads or writes data, so the guide should end with the steps to connect a test account to your service.

What the architecture diagram has to show

Salesforce gives one content list for the diagram. The Security Policy Requirements page asks partners to "Provide architecture diagrams that display data touch points" and information flows. The same sentence adds authentication and authorization, plus "other security controls." The same page asks for the inventory that should sit next to the diagram. That means the services and artifacts in the solution, such as web services, APIs and SDKs. It also means the third-party libraries and versions you depend on, and the sensitive data you process or store.

Two more items matter for SaaS products that keep customer data on their own servers. If you store regulated data, the page asks you to "disclose a list of data storage locations" with countries and providers such as AWS, Azure or Google Cloud. It also asks for "a list of third-party suppliers that you share customer data with." A diagram that shows your database but not the region it runs in, or that leaves out the email or analytics vendor that receives Salesforce records, is incomplete by this list.

No official page sets a notation, a template or a page count. Salesforce publishes a template for false positives, per Document Your Responses to False Positives, but not one for the architecture document. Use whatever your team already draws in, as long as every arrow carries data and every box says where it runs.

An example layout for a typical SaaS integration

Here is how the diagram reads for a common pattern, a managed package that syncs records with the vendor's own cloud. This is an illustration of the pattern, not a customer's design.

ComponentWhere it runsWhat the diagram should label
Managed package (Apex, Lightning components)Customer's Salesforce orgObjects read and written, user permissions required
Named Credential and External Client AppCustomer's orgOAuth flow, PKCE, refresh token handling
Vendor APIVendor's cloud, with regionEndpoints called, authentication method, TLS
Vendor databaseVendor's cloud, with provider and countryWhich Salesforce fields are stored, retention
Sub-processorsThird partiesWhich customer data each one receives

Each arrow between those boxes needs a direction, a protocol and the data it carries. The arrow from the package to the vendor API might say "Contact and Opportunity fields, HTTPS, OAuth access token from Named Credential." That one line answers the questions a reviewer would otherwise ask in a verification note.

Which solution types need solution documentation

All of them, according to the requirements table. The Required Materials page marks "Solution documentation" for six solution types. The table below groups them by what else you send. What changes by type is what you submit alongside the document.

Solution typeGoes with the documentation
Salesforce nativeDeveloper Edition org with the managed package installed, Checkmarx report
Native with external web app or serviceThe above, plus URLs and credentials for external components and DAST scan reports
API onlyDeveloper Edition org, URLs and credentials, DAST scan reports, no Checkmarx report
Mobile clientOrg, package, credentials, scans, and the app build (TestFlight or ad hoc for iOS)
Marketing Cloud appDAST scan reports and credentials to the Marketing Cloud environment

DAST means dynamic application security testing, a scan of your running endpoints. Salesforce's scanner page says Checkmarx reports "aren't required for mobile clients or API solutions." Managed packages also need a Salesforce Code Analyzer report, per Test Your Entire Solution, and our security review checklist covers which scans to run.

One page reads differently for Marketing Cloud. How the AgentExchange Security Review Works says "The org and documentation aren't required for Marketing Cloud apps," while the requirements table still marks documentation for that type. If you ship a Marketing Cloud app, generate your list in the Security Review Submission Requirements Checklist Builder in the Partner Community, which the Required Materials page points to, and send the documentation anyway.

How reviewers use the document to set the scope

Salesforce describes its scoping rule plainly. "To determine testing scope, we typically use a follow-the-data approach. Wherever the customer goes, we go," says the Required Materials page. The architecture document is where you show them where that is. A reviewer reads it to decide which endpoints to scan, which logins to use and which data paths to attack.

Test Your Entire Solution defines when an external endpoint is in scope. It is in scope when it "plays a role in authenticating the end user" or when "Salesforce data is transferred to or from the endpoint." For a SaaS product that is almost always your API and your login service. It is often your webhook receiver and your file storage too. Those same endpoints must appear in your DAST report, so the diagram and the scan should name the same hosts.

That is the practical value of a good diagram. It does not make the review shorter by itself. It makes the review match what you meant to submit, which avoids the verification round trip. How It Works calls the review "a black-box, time-limited process." A tester who cannot find a component from your document may not test it this round. A later version or a periodic re-review can still surface it. When in doubt, Salesforce's advice is "If you're not sure whether to include part of your solution, include it anyway."

The useful habit is to draw the trust boundary on the diagram. Inside it go the parts that authenticate users or carry Salesforce data, which are the parts Salesforce tests. Outside it go things like your marketing site or billing system, each with a one-line reason they never see Salesforce data. Required Materials says "The review team doesn't test parts that are out of scope," and a labelled boundary lets the reviewer agree with your scope instead of guessing it.

Documenting an API integration or external web app

For an API-only solution on AgentExchange, or a managed package that calls your cloud, the OAuth flow is the part of the architecture document that reviewers check hardest. Since Spring '26 you can't create new Connected Apps, so new integrations use an External Client App (ECA), the newer Salesforce object that holds OAuth settings. Our comparison of a connected app and an external client app covers the switch. The Connected App and ECA requirements apply to apps "in use by more than two customer production orgs," and they set a compliance due date of May 11, 2026.

Those requirements are worth showing on the diagram, because a reviewer will check them. Partners "must enable PKCE in the OAuth settings," and the page says partners "must have RTR enabled," meaning refresh token rotation. The page also sets a 30-day idle timeout for refresh tokens. Draw the OAuth flow with those settings named, and show where your backend stores the refresh token and how it handles a rotated one. Rotation has a failure mode that multi-tenant SaaS backends hit. The same page warns that apps making parallel refresh requests "may encounter potential race conditions" on the same token. If several workers refresh one customer's token at once, one of them ends up holding a token that no longer works. Showing a single refresh path per customer connection on the diagram answers that question before a reviewer asks it. Our post on OAuth for SaaS products that connect to many Salesforce orgs walks through that flow.

The security review wizard's Provide Environments step is where those flows get tested. Trailhead says the wizard collects details "to authenticate into your Salesforce orgs, web apps, and web services that require a username and password," and "The form verifies authentication by logging into the org." Every login on your diagram needs a working test credential in that step. For the endpoints themselves, the scanner page accepts any DAST scanner you prefer and names ZAP and Burp Suite among the examples. Our explainer on what a web application scanner does covers that scan.

Is a solution architecture document required for the security review?

Yes, under Salesforce's name for it. "Solution documentation" is marked for every solution type on the Required Materials page, apart from one overview page that exempts Marketing Cloud apps. The same page asks for "detailed solution user documentation and your company's information security policies."

Salesforce also scales what it expects to the company. The page says "we factor in company size and maturity when reviewing submitted documents." That line is about depth, not about skipping items. A seed-stage team can send a short security policy and a one-page diagram. What it cannot send is a diagram that disagrees with the scan reports or the test logins, because those mismatches are checked before any tester reads the policy.

A lean submission that still covers Salesforce's list fits in a few pages. It needs the diagram with every external host and its region, and a table of the Salesforce objects and fields you read, write or store. It also needs the sub-processor list and the usage guide that ends with a working test login. The security policy part can point to the practices on the Security Policy Requirements page that you actually follow, such as vulnerability management and breach response.

Mistakes that get a submission returned

In the Salesforce security review, a missing or mismatched architecture document is caught in submission verification, before testing starts. Salesforce's verification feedback page lists "Documentation" as its own feedback category. It covers the case where a required document is missing from the submission. The review is set to Returned, and Security Review Stages says "Processing is paused until we receive the outstanding items." There is "no charge to resubmit a returned submission," but the clock stops. The patterns below match the feedback categories Salesforce publishes for verification.

  • A diagram without your backend. Showing only the managed package hides the API and database that receive Salesforce data, and Salesforce tests wherever the data goes.
  • Endpoints that differ between the diagram and the DAST report. A staging host in the scan and a production host in the diagram leaves the reviewer unsure which one was tested.
  • Credentials that don't match the drawing. Salesforce's verification page names "expired authentication credentials or an invalid access URL for a web app or service" as its own category.
  • A packaging org instead of a test org. That page also gives "Perhaps you submitted a packaging org instead of a test org" as an example.
  • No usage guide. A reviewer who can't configure the app can't reach the screens they need to test.
  • Sub-processors left out. An analytics or email vendor that receives customer data belongs on the third-party sharing list.

Timing is the other reason to get this right first. Salesforce's How It Works table estimates 1 to 2 weeks for verification and 3 to 4 weeks for the first test, and calls them estimates. A returned submission adds its own wait on top. Our post on how long the Salesforce security review takes compares Salesforce's figures, and the security review wizard, step by step shows where each file is uploaded.

Frequently Asked Questions

Is there an official Salesforce template for the solution architecture document?

No. Salesforce publishes a False Positive Documentation template but no template, notation or page count for the architecture and usage documentation. The Security Policy Requirements page lists what the diagrams should show instead.

Does an API-only integration need solution documentation?

Yes. The Required Materials table marks solution documentation for API-only solutions, along with a Developer Edition org, external URLs and credentials, and DAST scan reports. A Checkmarx report is not required for API solutions.

What happens if the documentation is missing or incomplete?

The submission is set to Returned at submission verification and processing pauses until you upload the missing file. Resubmitting a returned submission has no charge.

Can Appnigma prepare the security review documentation for our app?

Yes, for the native apps it builds. The marketplace apps offering lists Salesforce security review preparation and responses, and says review support covers preparation, submission, and responses to feedback.

About the author

Sunny Chauhan is the co-founder and CEO of Appnigma AI, which builds and maintains customer integrations and native Salesforce and HubSpot apps for B2B SaaS teams. Before Appnigma, he was on Salesforce's AppExchange team, where he worked with more than 300 SaaS partners. He has spent close to a decade on the Salesforce platform, including work at Zennify, and holds Salesforce certifications including Platform Developer II, Platform App Builder, Administrator, Data Cloud Consultant, and AI Associate.

Sources

  1. Salesforce Developers, ISVforce Guide, Required Materials for Security Review Submission
  2. Salesforce Developers, ISVforce Guide, Security Policy Requirements
  3. Salesforce Developers, ISVforce Guide, How the AgentExchange Security Review Works
  4. Salesforce Developers, ISVforce Guide, Test Your Entire Solution
  5. Salesforce Developers, ISVforce Guide, Source Code Scanner on the Partner Security Portal
  6. Salesforce Developers, ISVforce Guide, Document Your Responses to False Positives
  7. Salesforce Developers, ISVforce Guide, Feedback About Submission Verification
  8. Salesforce Developers, ISVforce Guide, AgentExchange Security Review Stages
  9. Salesforce Developers, ISVforce Guide, Secure Your Connected Apps and External Client Apps
  10. Trailhead, ISV Security Review, Submit Your Solution for Security Review

Which integration is your next deal waiting on?

Bring the customer requirements and your current setup. Get a clear scope and delivery timeline to take back to them.

© 2026 Appnigma AI. Built by ex-Salesforce engineers.