Connect your own Salesforce login to build and run apps in Wisty.
In the Wisty web app, open Connected orgs and click Connect Salesforce org. Your connection lets Wisty read the metadata used for generation and access live data when you run an app.
You need a Salesforce login for the org. Wisty supports production orgs, sandboxes, developer orgs, and Trailhead playgrounds.The org must have the Wisty package installed. If it doesn’t, ask a Salesforce admin to install Wisty. The connection dialog also links to the installer. Once setup is complete, connect with your own Salesforce login.These steps are for the Wisty web app. To make Wisty available inside Salesforce, follow Connect a host org.
Open Connected orgs in the sidebar, then click Connect Salesforce org.The dialog shows Install the Wisty package and Connect your org. Skip the install step if the package is already installed in this org.
2
Enter the connection details
Enter a Label you can recognize, such as “Sales sandbox”. Choose the Environment that matches your Salesforce login:
Option
When to use it
Production / Developer / Trailhead
You sign in through login.salesforce.com.
Sandbox / Scratch Org
You sign in through test.salesforce.com.
Custom Domain
Your company uses a dedicated Salesforce login domain.
For Custom Domain, enter the part before .my.salesforce.com in Organization Domain.Leave Keep me logged in with a refresh token selected to let Wisty renew the connection when the access token expires.
Choose the login environment for your org before continuing to Salesforce.
3
Authorize on Salesforce
Click Continue to Salesforce. Sign in to the intended org and approve the requested access.You’ll return to Connected orgs. Check that the org and username are correct and the row shows Connected.
If Wisty asks you to Install the Wisty package, click Install package and complete the Salesforce setup. Then return to Wisty and click Connect again. The form remembers your details.
Connecting your first eligible org starts the 30-day
trial, with 50 credits and no card required.
On Home, use the org picker below the message box before starting a project. Creating the project selects that connection for you in this workspace.In an open project, click the current org’s name in the header above the preview, beside View app, and choose another connected org. In narrower desktop windows, this control appears as a Switch org icon.To change the selected connection from Connected orgs, open an org, click the three-dot Org actions menu, and choose Set as default. The org is then marked Default.
These controls change your selected connection in this workspace, including
other projects you open there. Projects created from your Wisty account don’t each
retain an independent org selection. Check the org shown in the header before
generating or testing, especially when switching between orgs with different
custom fields.
When an org shows Connection error, open it and read the explanation. Click Org actions, then Reconnect, and complete Salesforce authorization again.
Connected orgs shows each connection's status. An expired session shows Connection error until you reconnect.
If an admin has removed your Salesforce access, they may need to restore it before reconnecting will work. See Fix common problems for other connection issues.
Wisty’s Salesforce integration supplies object and field metadata to the generating AI. It doesn’t retrieve Salesforce records for generation. The preview and published app access records through your Salesforce connection, subject to your Salesforce permissions and the app’s access settings.Salesforce credentials stay encrypted on Wisty’s servers. They aren’t passed to generated code. See How Wisty uses your data.
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Wisty","description":"The AI app builder for Salesforce.","colors":{"primary":"#FF4D02","light":"#FF6A2B","dark":"#15100E"},"logo":{"light":"https://mintcdn.com/wisty/9Wlvn1tbjBaZ0Pur/logo/light.svg?fit=max\u0026auto=format\u0026n=9Wlvn1tbjBaZ0Pur\u0026q=85\u0026s=36d6b5a8b4371d56299fa339057ba760","dark":"https://mintcdn.com/wisty/9Wlvn1tbjBaZ0Pur/logo/dark.svg?fit=max\u0026auto=format\u0026n=9Wlvn1tbjBaZ0Pur\u0026q=85\u0026s=4355cd4aae5c23a105ade3603e12085c"},"favicon":"https://mintcdn.com/wisty/XrFyZ2h8GWSiLRnC/favicon.svg?fit=max\u0026auto=format\u0026n=XrFyZ2h8GWSiLRnC\u0026q=85\u0026s=e9e0f21f0050e293b67cc7eedc3cc708","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FFFFFF"}},"navbar":{"links":[{"href":"https://app.wisty.ai/sign-in","label":"Sign in"}],"primary":{"type":"button","label":"Try for free","href":"https://app.wisty.ai/sign-up"}},"footer":{},"fonts":{"heading":{"family":"Inter Tight"},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wisty","hasAudioNarration":false,"actualSubdomain":"wisty","customDomains":["wisty.ai"],"gitSource":{"type":"github","owner":"wisty-labs","repo":"wisty","deployBranch":"production","contentDirectory":"apps/wisty-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae08cd50a4e18d2a6ba9333","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Build and refine","count":6},{"language":"default","tag":"Start here","count":5},{"language":"default","tag":"Publish and share","count":3},{"language":"default","tag":"Set up Salesforce","count":3},{"language":"default","tag":"Billing","count":2},{"language":"default","tag":"Data and security","count":2},{"language":"default","tag":"Help","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#sidebar-content li[data-active],#sidebar-content li[data-active] a{background-color:#f5f3f0!important;color:#15100e!important}#sidebar-content li[data-active] svg{background-color:#15100e!important;color:#15100e!important}img.nav-logo{max-width:220px;height:auto}.docs-diagram .mermaid>svg{display:block;margin-inline:auto}"}],"page":{"pagePath":"getting-started/connect-salesforce","slug":"/getting-started/connect-salesforce","pageMetadata":{"title":"Connect Salesforce","description":"Connect your own Salesforce login to build and run apps in Wisty.","icon":"cloud","href":"/getting-started/connect-salesforce"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect your own Salesforce login to build and run apps in Wisty.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Frame,Heading,Info,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`In the Wisty web app, open `,_jsx(_components.strong,{children:`Connected orgs`}),` and click `,_jsx(_components.strong,{children:`Connect Salesforce org`}),`. Your connection lets Wisty read the metadata used for generation and access live data when you run an app.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-connect`,children:`Before you connect`}),`\n`,_jsx(_components.p,{children:`You need a Salesforce login for the org. Wisty supports production orgs, sandboxes, developer orgs, and Trailhead playgrounds.`}),`\n`,_jsxs(_components.p,{children:[`The org must have the Wisty package installed. If it doesn’t, ask a Salesforce admin to `,_jsx(_components.a,{href:`/salesforce-setup/install`,children:`install Wisty`}),`. The connection dialog also links to the installer. Once setup is complete, connect with your own Salesforce login.`]}),`\n`,_jsxs(_components.p,{children:[`These steps are for the Wisty web app. To make Wisty available inside Salesforce, follow `,_jsx(_components.a,{href:`/salesforce-setup/connect-host-org`,children:`Connect a host org`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-your-org`,children:`Connect your org`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the connection dialog`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Connected orgs`}),` in the sidebar, then click `,_jsx(_components.strong,{children:`Connect Salesforce org`}),`.`]}),_jsxs(_components.p,{children:[`The dialog shows `,_jsx(_components.strong,{children:`Install the Wisty package`}),` and `,_jsx(_components.strong,{children:`Connect your org`}),`. Skip the install step if the package is already installed in this org.`]})]}),_jsxs(Step,{title:`Enter the connection details`,children:[_jsxs(_components.p,{children:[`Enter a `,_jsx(_components.strong,{children:`Label`}),` you can recognize, such as “Sales sandbox”. Choose the `,_jsx(_components.strong,{children:`Environment`}),` that matches your Salesforce login:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`When to use it`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Production / Developer / Trailhead`})}),_jsxs(_components.td,{children:[`You sign in through `,_jsx(_components.code,{children:`login.salesforce.com`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Sandbox / Scratch Org`})}),_jsxs(_components.td,{children:[`You sign in through `,_jsx(_components.code,{children:`test.salesforce.com`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Custom Domain`})}),_jsx(_components.td,{children:`Your company uses a dedicated Salesforce login domain.`})]})]})]}),_jsxs(_components.p,{children:[`For `,_jsx(_components.strong,{children:`Custom Domain`}),`, enter the part before `,_jsx(_components.code,{children:`.my.salesforce.com`}),` in `,_jsx(_components.strong,{children:`Organization Domain`}),`.`]}),_jsxs(_components.p,{children:[`Leave `,_jsx(_components.strong,{children:`Keep me logged in with a refresh token`}),` selected to let Wisty renew the connection when the access token expires.`]}),_jsx(Frame,{caption:`Choose the login environment for your org before continuing to Salesforce.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=aba6d94621079defa78f2c85aedb0e3f`,alt:`Connect Salesforce org dialog with the ACME Prod label, production environment, and refresh token option selected.`,\"data-og-width\":`1040`,width:`1040`,\"data-og-height\":`924`,height:`924`,\"data-path\":`images/connect-salesforce.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=e0d8a4f711a2e4182a168cc0002d97f6 280w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=f2be2302bb5ca4bb9089a7e0e5f827f9 560w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=2fd97eea03a5db8393e6ece2e666b175 840w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=a14c175b0adbb7aa76558ac91c678ee0 1100w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=f02393f7a417a95260a4c2f9d40299fb 1650w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=2124d1907d9ee7b998bc9b23c81e4aed 2500w`})})]}),_jsxs(Step,{title:`Authorize on Salesforce`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Continue to Salesforce`}),`. Sign in to the intended org and approve the requested access.`]}),_jsxs(_components.p,{children:[`You’ll return to `,_jsx(_components.strong,{children:`Connected orgs`}),`. Check that the org and username are correct and the row shows `,_jsx(_components.strong,{children:`Connected`}),`.`]})]})]}),`\n`,_jsxs(_components.p,{children:[`If Wisty asks you to `,_jsx(_components.strong,{children:`Install the Wisty package`}),`, click `,_jsx(_components.strong,{children:`Install package`}),` and complete the Salesforce setup. Then return to Wisty and click `,_jsx(_components.strong,{children:`Connect again`}),`. The form remembers your details.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Connecting your first eligible org starts the `,_jsx(_components.a,{href:`/billing/credits-and-plans`,children:`30-day\ntrial`}),`, with 50 credits and no card required.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-the-org-you-build-against`,children:`Choose the org you build against`}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Home`}),`, use the org picker below the message box before starting a project. Creating the project selects that connection for you in this workspace.`]}),`\n`,_jsxs(_components.p,{children:[`In an open project, click the current org’s name in the header above the preview, beside `,_jsx(_components.strong,{children:`View app`}),`, and choose another `,_jsx(_components.a,{href:`/getting-started/key-concepts#connected-org`,children:`connected org`}),`. In narrower desktop windows, this control appears as a `,_jsx(_components.strong,{children:`Switch org`}),` icon.`]}),`\n`,_jsxs(_components.p,{children:[`To change the selected connection from `,_jsx(_components.strong,{children:`Connected orgs`}),`, open an org, click the three-dot `,_jsx(_components.strong,{children:`Org actions`}),` menu, and choose `,_jsx(_components.strong,{children:`Set as default`}),`. The org is then marked `,_jsx(_components.strong,{children:`Default`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`These controls change your selected connection in this workspace, including\nother projects you open there. Projects created from your Wisty account don’t each\nretain an independent org selection. Check the org shown in the header before\ngenerating or testing, especially when switching between orgs with different\ncustom fields.`})}),`\n`,_jsx(Heading,{level:`2`,id:`reconnect-an-org`,children:`Reconnect an org`}),`\n`,_jsxs(_components.p,{children:[`When an org shows `,_jsx(_components.strong,{children:`Connection error`}),`, open it and read the explanation. Click `,_jsx(_components.strong,{children:`Org actions`}),`, then `,_jsx(_components.strong,{children:`Reconnect`}),`, and complete Salesforce authorization again.`]}),`\n`,_jsx(Frame,{caption:`Connected orgs shows each connection's status. An expired session shows Connection error until you reconnect.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=5717a729393dda135f482a7f82a1203f`,alt:`Connected orgs page with two orgs. ACME Prod is Connected and marked Default. ACME Sandbox shows Connection error with the message Salesforce session expired. Reconnect this org.`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`700`,height:`700`,\"data-path\":`images/connected-orgs.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=c2275bedbe6a96501c74a304ccd5ef5b 280w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=ecca3c4568994f5da994d5ab73ff638f 560w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=e985dd0a9426ff71000ea0ee6ca318af 840w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=f0b63da74c44a9de33b91c3cd216a664 1100w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=b9640ebfa41f07f8046e015acf43ebab 1650w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connected-orgs.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=44974e6cfde2df20ce6fe122d3dd1768 2500w`})}),`\n`,_jsxs(_components.p,{children:[`If an admin has removed your Salesforce access, they may need to restore it before reconnecting will work. See `,_jsx(_components.a,{href:`/help/troubleshooting`,children:`Fix common problems`}),` for other connection issues.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-connection-allows`,children:`What the connection allows`}),`\n`,_jsxs(_components.p,{children:[`Wisty’s Salesforce integration supplies object and field metadata to the generating AI. It doesn’t retrieve Salesforce records for generation. The preview and published app access records through your Salesforce connection, subject to your Salesforce permissions and the app’s `,_jsx(_components.a,{href:`/building/salesforce-access`,children:`access settings`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Salesforce credentials stay encrypted on Wisty’s servers. They aren’t passed to generated code. See `,_jsx(_components.a,{href:`/security/data-handling`,children:`How Wisty uses your data`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect Salesforce","description":"Connect your own Salesforce login to build and run apps in Wisty.","icon":"cloud","href":"/getting-started/connect-salesforce"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you connect","slug":"before-you-connect","depth":2,"children":[]},{"title":"Connect your org","slug":"connect-your-org","depth":2,"children":[]},{"title":"Choose the org you build against","slug":"choose-the-org-you-build-against","depth":2,"children":[]},{"title":"Reconnect an org","slug":"reconnect-an-org","depth":2,"children":[]},{"title":"What the connection allows","slug":"what-the-connection-allows","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wisty","siteName":"Wisty","title":"Connect Salesforce - Wisty","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T12:03:34.137Z","originalFileLocation":"getting-started/connect-salesforce.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect your own Salesforce login to build and run apps in Wisty.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wisty\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect Salesforce - Wisty\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your own Salesforce login to build and run apps in Wisty.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wisty\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://wisty.ai/docs/getting-started/connect-salesforce\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wisty.mintlify.site/docs/_mintlify/api/og/v2?division=Start+here\u0026amp;title=Connect+Salesforce\u0026amp;description=Connect+your+own+Salesforce+login+to+build+and+run+apps+in+Wisty.\u0026amp;theme=e782b797ddc93d46fae28202\u0026amp;signature=f415737f375badbfc2efe22b611aa9911f967e936695cad09098f766a93a7ee5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect Salesforce - Wisty\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your own Salesforce login to build and run apps in Wisty.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wisty.mintlify.site/docs/_mintlify/api/og/v2?division=Start+here\u0026amp;title=Connect+Salesforce\u0026amp;description=Connect+your+own+Salesforce+login+to+build+and+run+apps+in+Wisty.\u0026amp;theme=e782b797ddc93d46fae28202\u0026amp;signature=f415737f375badbfc2efe22b611aa9911f967e936695cad09098f766a93a7ee5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/wisty/3h4tNoDss1elNtP7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wisty\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4D02\">\u003clink data-mint-head rel=\"canonical\" href=\"https://wisty.ai/docs/getting-started/connect-salesforce\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/getting-started/connect-salesforce.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://wisty.ai/#organization\",\"name\":\"Wisty\",\"url\":\"https://wisty.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wisty/9Wlvn1tbjBaZ0Pur/logo/light.svg?fit=max\u0026auto=format\u0026n=9Wlvn1tbjBaZ0Pur\u0026q=85\u0026s=36d6b5a8b4371d56299fa339057ba760\"}},{\"@type\":\"WebSite\",\"@id\":\"https://wisty.ai/docs#website\",\"name\":\"Wisty\",\"url\":\"https://wisty.ai/docs\",\"publisher\":{\"@id\":\"https://wisty.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://wisty.ai/docs/getting-started/connect-salesforce#webpage\",\"url\":\"https://wisty.ai/docs/getting-started/connect-salesforce\",\"name\":\"Connect Salesforce\",\"description\":\"Connect your own Salesforce login to build and run apps in Wisty.\",\"dateModified\":\"2026-09-28T12:03:34.137Z\",\"isPartOf\":{\"@id\":\"https://wisty.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://wisty.ai/docs/getting-started/connect-salesforce#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://wisty.ai/docs/getting-started/connect-salesforce#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Start here\",\"item\":\"https://wisty.ai/docs/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect Salesforce\",\"item\":\"https://wisty.ai/docs/getting-started/connect-salesforce\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://wisty.ai/docs/getting-started/connect-salesforce#article\",\"headline\":\"Connect Salesforce\",\"name\":\"Connect Salesforce\",\"description\":\"Connect your own Salesforce login to build and run apps in Wisty.\",\"url\":\"https://wisty.ai/docs/getting-started/connect-salesforce\",\"mainEntityOfPage\":{\"@id\":\"https://wisty.ai/docs/getting-started/connect-salesforce#webpage\"},\"dateModified\":\"2026-09-28T12:03:34.137Z\",\"publisher\":{\"@id\":\"https://wisty.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://wisty.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wisty\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wisty","nav":{"global":null,"groups":[{"group":"Start here","pages":[{"title":"Overview","icon":"house","href":"/index"},{"title":"Key concepts","icon":"book-open","href":"/getting-started/key-concepts"},{"title":"Build your first app","description":"Build a read-only opportunity list, make a change, and open the published app.","icon":"rocket","href":"/getting-started/quickstart"},{"title":"Connect Salesforce","icon":"cloud","href":"/getting-started/connect-salesforce"},{"title":"Start from a template","description":"Preview a ready-made layout and adapt it to your Salesforce org.","icon":"layout-template","href":"/getting-started/templates"}]},{"group":"Build and refine","pages":[{"title":"Describe what you need","icon":"message-square","href":"/building/describe-what-you-need"},{"title":"Work on a project","icon":"pencil-ruler","href":"/building/projects"},{"title":"Edit without AI","icon":"mouse-pointer-click","href":"/building/editing-without-ai"},{"title":"Add org knowledge","icon":"book-open","href":"/building/org-knowledge"},{"title":"Control Salesforce access","icon":"sliders-horizontal","href":"/building/salesforce-access"},{"title":"Update Salesforce records","icon":"pencil-line","href":"/building/record-writes"}]},{"group":"Publish and share","pages":[{"title":"Publish and update an app","icon":"send","href":"/publishing/publish"},{"title":"Share and open apps","icon":"layout-grid","href":"/publishing/share-apps"},{"title":"Add an app to Salesforce","icon":"panels-top-left","href":"/publishing/embed-in-salesforce"}]},{"group":"Set up Salesforce","pages":[{"title":"Install Wisty","icon":"package","href":"/salesforce-setup/install"},{"title":"Connect a host org","icon":"link-2","href":"/salesforce-setup/connect-host-org"},{"title":"Manage builders and viewers","icon":"lock","href":"/salesforce-setup/control-access"}]},{"group":"Data and security","pages":[{"title":"How Wisty uses your data","icon":"shield-check","href":"/security/data-handling"},{"title":"Where apps run","icon":"globe-lock","href":"/security/where-apps-run"}]},{"group":"Billing","pages":[{"title":"Credits and plans","icon":"credit-card","href":"/billing/credits-and-plans"},{"title":"Manage your subscription","icon":"wallet","href":"/billing/manage-subscription"}]},{"group":"Help","pages":[{"title":"Fix common problems","icon":"life-buoy","href":"/help/troubleshooting"}]}]},"basePath":"","title":"Connect Salesforce - Wisty","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-9l8IeNTQ.js","DynamicMarkdown-BBht_uEs.js","zoom-image-lightbox-CPu1dUmH.js","lightbox-handle-r17bVUz3.js"]}