Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.
Open Host orgs, then Add host org, to let people build and use Wisty apps inside Salesforce. You need to be a Wisty team admin, and Wisty must be installed in that Salesforce org.A connected org is your personal Salesforce connection for building and using apps in the Wisty web app. A host org links a Salesforce org to your Wisty team. Its users can open shared apps and, with builder access, create projects and publish apps inside Salesforce. Connecting your own Salesforce login doesn’t create that team link.
In the Wisty web app, open Host orgs and click Add host org.If the package isn’t installed, use Install package in the dialog and complete installation.
2
Copy the activation code
Click Copy code. The activation code is single-use and expires after an hour.
The dialog waits while you paste the code in Salesforce, and shows how long the code remains valid.
3
Open Wisty in Salesforce
In Salesforce, open Wisty from the App Launcher. Complete Connect Wisty if Salesforce asks you to approve access.
4
Paste the code
On Connect this Salesforce org to Wisty, paste the code and click Connect.
The Wisty tab in Salesforce shows this one-time setup screen until the org is linked.
5
Check the link in Wisty
Return to Wisty. The dialog closes after the code is accepted, and the org appears under Host orgs.
Each host org shows its pinned apps and whether sharing is on.
If the code expires, click Generate new code and use the new one. If the Wisty tab is missing, check the package and tab visibility before generating another code.
Give the people who should build apps the Wisty Builder permission set. They can then open the Wisty tab, describe what they need, and generate, refine, and publish an app using their Salesforce login.Each project created this way stays tied to the Salesforce org where it was created. For example, a project created in ACME Prod always uses ACME Prod. You can’t switch it to another org, and its published app can be shared only within ACME Prod. Opening the app through a Salesforce Web link doesn’t change that association.Projects start private. Builders can generate and publish apps for their own use without enabling org-wide sharing.
Sharing is optional and starts off for a new host org. Leave it off if builders should generate and publish apps only for their own use.Turn on Sharing to let app owners share their published apps with other users in the same org. It also lets your Wisty team share apps created in the Wisty web app with this org. Turning it on doesn’t share apps automatically: each app owner chooses which published apps to share.To allow sharing:
In the Wisty web app, open the org under Host orgs.
Select the Sharing tab.
Turn on the switch. The status changes to Sharing on.
With sharing enabled, an app owner can share their published app with this host org. Have another user in the org open the Wisty tab in Salesforce to check the result. They can find the shared app under All apps and open it using their own Salesforce permissions.You can turn sharing off again without removing anyone’s builder access.
Salesforce Web lets people open shared apps from a link outside Salesforce. It’s off by default, and you can leave it off if everyone opens apps inside Salesforce.
Under Host orgs, open the org and select Salesforce Web.
Turn on the switch. The status changes to Salesforce Web on.
Viewers click Sign in with Salesforce and use a login from the linked org. Logins from other orgs are rejected.Turning this switch off immediately blocks Salesforce Web access, including existing sessions. Wisty then removes the stored Salesforce Web sessions and credentials. The in-Salesforce experience can keep running independently.
The host org’s Org knowledge tab holds instructions used when Wisty builds projects for that org. Use it for business definitions, naming conventions, and other context that applies across projects. See Add org knowledge for examples and how these instructions are used.
Place a published app on a record page or in the utility bar.
Manage builders and viewers
Give people builder access, manage sharing, or remove this link.
⌘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":"salesforce-setup/connect-host-org","slug":"/salesforce-setup/connect-host-org","pageMetadata":{"title":"Connect a host org","description":"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.","icon":"link-2","href":"/salesforce-setup/connect-host-org"},"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: \"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card,Columns,Frame,Heading,OptimizedImage,Step,Steps}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Host orgs`}),`, then `,_jsx(_components.strong,{children:`Add host org`}),`, to let people build and use Wisty apps inside Salesforce. You need to be a Wisty team admin, and `,_jsx(_components.a,{href:`/salesforce-setup/install`,children:`Wisty must be installed`}),` in that Salesforce org.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.a,{href:`/getting-started/key-concepts#connected-org`,children:`connected org`}),` is your personal Salesforce connection for building and using apps in the Wisty web app. A `,_jsx(_components.a,{href:`/getting-started/key-concepts#host-org`,children:`host org`}),` links a Salesforce org to your Wisty team. Its users can open shared apps and, with builder access, create projects and publish apps inside Salesforce. Connecting your own Salesforce login doesn’t create that team link.`]}),`\n`,_jsx(Heading,{level:`2`,id:`link-the-org`,children:`Link the org`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Start in Wisty`,children:[_jsxs(_components.p,{children:[`In the Wisty web app, open `,_jsx(_components.strong,{children:`Host orgs`}),` and click `,_jsx(_components.strong,{children:`Add host org`}),`.`]}),_jsxs(_components.p,{children:[`If the package isn’t installed, use `,_jsx(_components.strong,{children:`Install package`}),` in the dialog and complete `,_jsx(_components.a,{href:`/salesforce-setup/install`,children:`installation`}),`.`]})]}),_jsxs(Step,{title:`Copy the activation code`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Copy code`}),`. The activation code is single-use and expires after an hour.`]}),_jsx(Frame,{caption:`The dialog waits while you paste the code in Salesforce, and shows how long the code remains valid.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=ef8cffcc3452e1534adb70a99726a255`,alt:`Add host org dialog with three steps: Install the Wisty package, Open the Wisty tab in Salesforce, and Paste this code, showing an activation code, a Copy code button, and a Still waiting for the code in Salesforce status.`,width:`552`,style:{width:`100%`,maxWidth:`552px`},\"data-og-width\":`1104`,\"data-og-height\":`980`,\"data-path\":`images/connect-host-org.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=4ebfdc933e126afdb480467d89351954 280w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=145665b4371aeb1cebddb366690ed22a 560w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=a08b5b2b78793ac980d26fcbfa02e968 840w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=2764309e647c339c2bb1a48de0c21992 1100w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=7306c1aaedf03e76996e261bf49479cc 1650w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-host-org.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=239ec660311f0ce5e78e47172ee99e6f 2500w`})})]}),_jsx(Step,{title:`Open Wisty in Salesforce`,children:_jsxs(_components.p,{children:[`In Salesforce, open `,_jsx(_components.strong,{children:`Wisty`}),` from the App Launcher. Complete `,_jsx(_components.strong,{children:`Connect Wisty`}),` if Salesforce asks you to approve access.`]})}),_jsxs(Step,{title:`Paste the code`,children:[_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Connect this Salesforce org to Wisty`}),`, paste the code and click `,_jsx(_components.strong,{children:`Connect`}),`.`]}),_jsx(Frame,{caption:`The Wisty tab in Salesforce shows this one-time setup screen until the org is linked.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=c1c6ecf169af891e543e35146585058e`,alt:`Connect this Salesforce org to Wisty screen inside Salesforce, with an activation code pasted into the code field and a Connect button.`,width:`532`,style:{width:`100%`,maxWidth:`532px`},\"data-og-width\":`1064`,\"data-og-height\":`788`,\"data-path\":`images/connect-salesforce-filled.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=635ecf13383348fa324fb2c93751db8d 280w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=fc64dc800d3a2dff6ddb36544955a9dc 560w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=12fe43518cce2e99af7cd6a895f9e16b 840w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=fee3ce406b9e7a369b250232f687440b 1100w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=c1ecb1875571da9b1a908db86a60aa8f 1650w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/connect-salesforce-filled.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=cf4bc09f74f0e27428fd8df6b9d4ffa9 2500w`})})]}),_jsxs(Step,{title:`Check the link in Wisty`,children:[_jsxs(_components.p,{children:[`Return to Wisty. The dialog closes after the code is accepted, and the org appears under `,_jsx(_components.strong,{children:`Host orgs`}),`.`]}),_jsx(Frame,{caption:`Each host org shows its pinned apps and whether sharing is on.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=a7aeda1ffc9450a491284a9923581a6b`,alt:`Host orgs page listing ACME Prod and ACME Sandbox, each with 2 pinned apps and Sharing on.`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`660`,height:`660`,\"data-path\":`images/host-orgs.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=224fe3a077c21b303f52d82fccc082d7 280w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=ba4e1faae7af6bd3a2b153a6612e60f9 560w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=2fa809c762b8e6906897ed5282a765f2 840w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=49672cc9749be75e0fb401cf6f733f4a 1100w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=6fec91741b2e7616ee1813d47b997cbe 1650w, https://mintcdn.com/wisty/p0KgmgXmvqDkXTFQ/images/host-orgs.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0KgmgXmvqDkXTFQ\u0026q=85\u0026s=43355b963936dc33fcb7aedf194aeefd 2500w`})})]})]}),`\n`,_jsxs(_components.p,{children:[`If the code expires, click `,_jsx(_components.strong,{children:`Generate new code`}),` and use the new one. If the Wisty tab is missing, check the `,_jsx(_components.a,{href:`/salesforce-setup/install#show-the-wisty-tab-to-viewers`,children:`package and tab visibility`}),` before generating another code.`]}),`\n`,_jsx(Heading,{level:`2`,id:`build-inside-salesforce`,children:`Build inside Salesforce`}),`\n`,_jsxs(_components.p,{children:[`Give the people who should build apps the `,_jsxs(_components.a,{href:`/salesforce-setup/control-access#grant-building-access-in-salesforce`,children:[_jsx(_components.strong,{children:`Wisty Builder`}),` permission set`]}),`. They can then open the `,_jsx(_components.strong,{children:`Wisty`}),` tab, describe what they need, and generate, refine, and publish an app using their Salesforce login.`]}),`\n`,_jsx(_components.p,{children:`Each project created this way stays tied to the Salesforce org where it was created. For example, a project created in ACME Prod always uses ACME Prod. You can’t switch it to another org, and its published app can be shared only within ACME Prod. Opening the app through a Salesforce Web link doesn’t change that association.`}),`\n`,_jsxs(_components.p,{children:[`Projects start private. Builders can generate and publish apps for their own use without enabling `,_jsx(_components.a,{href:`#choose-whether-to-allow-sharing`,children:`org-wide sharing`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-whether-to-allow-sharing`,children:`Choose whether to allow sharing`}),`\n`,_jsx(_components.p,{children:`Sharing is optional and starts off for a new host org. Leave it off if builders should generate and publish apps only for their own use.`}),`\n`,_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.strong,{children:`Sharing`}),` to let app owners share their published apps with other users in the same org. It also lets your Wisty team share apps created in the Wisty web app with this org. Turning it on doesn’t share apps automatically: each app owner chooses which published apps to share.`]}),`\n`,_jsx(_components.p,{children:`To allow sharing:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the Wisty web app, open the org under `,_jsx(_components.strong,{children:`Host orgs`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Select the `,_jsx(_components.strong,{children:`Sharing`}),` tab.`]}),`\n`,_jsxs(_components.li,{children:[`Turn on the switch. The status changes to `,_jsx(_components.strong,{children:`Sharing on`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`With sharing enabled, an app owner can `,_jsx(_components.a,{href:`/publishing/share-apps#change-who-can-open-an-app`,children:`share their published app with this host org`}),`. Have another user in the org open the `,_jsx(_components.strong,{children:`Wisty`}),` tab in Salesforce to check the result. They can find the shared app under `,_jsx(_components.strong,{children:`All apps`}),` and open it using their own Salesforce permissions.`]}),`\n`,_jsxs(_components.p,{children:[`You can `,_jsx(_components.a,{href:`/salesforce-setup/control-access#turn-off-sharing-for-an-org`,children:`turn sharing off again`}),` without removing anyone’s builder access.`]}),`\n`,_jsx(Heading,{level:`2`,id:`turn-on-salesforce-web-links`,children:`Turn on Salesforce Web links`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/getting-started/key-concepts#salesforce-web`,children:`Salesforce Web`}),` lets people open shared apps from a link outside Salesforce. It’s off by default, and you can leave it off if everyone opens apps inside Salesforce.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Host orgs`}),`, open the org and select `,_jsx(_components.strong,{children:`Salesforce Web`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Turn on the switch. The status changes to `,_jsx(_components.strong,{children:`Salesforce Web on`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Follow `,_jsx(_components.a,{href:`/publishing/share-apps#copy-a-salesforce-web-link`,children:`Copy a Salesforce Web link`}),` to get a link for a published, shared app.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Viewers click `,_jsx(_components.strong,{children:`Sign in with Salesforce`}),` and use a login from the linked org. Logins from other orgs are rejected.`]}),`\n`,_jsx(_components.p,{children:`Turning this switch off immediately blocks Salesforce Web access, including existing sessions. Wisty then removes the stored Salesforce Web sessions and credentials. The in-Salesforce experience can keep running independently.`}),`\n`,_jsx(Heading,{level:`2`,id:`pin-apps-for-the-org`,children:`Pin apps for the org`}),`\n`,_jsx(_components.p,{children:`Use pins to put the apps people need most at the front of the Salesforce launcher.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the host org and select `,_jsx(_components.strong,{children:`Pinned apps`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Pin an app`}),` and select a published app shared with the org.`]}),`\n`,_jsx(_components.li,{children:`Drag the pinned apps to put them in the order you want.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Viewers find them under `,_jsx(_components.strong,{children:`Pinned`}),` in the Wisty launcher. If an app isn’t available to pin, check that it’s published and shared with this org.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-shared-org-knowledge`,children:`Add shared org knowledge`}),`\n`,_jsxs(_components.p,{children:[`The host org’s `,_jsx(_components.strong,{children:`Org knowledge`}),` tab holds instructions used when Wisty builds projects for that org. Use it for business definitions, naming conventions, and other context that applies across projects. See `,_jsx(_components.a,{href:`/building/org-knowledge`,children:`Add org knowledge`}),` for examples and how these instructions are used.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Add an app to Salesforce`,icon:`panels-top-left`,href:`/publishing/embed-in-salesforce`,children:_jsx(_components.p,{children:`Place a published app on a record page or in the utility bar.`})}),_jsx(Card,{title:`Manage builders and viewers`,icon:`lock`,href:`/salesforce-setup/control-access`,children:_jsx(_components.p,{children:`Give people builder access, manage sharing, or remove this link.`})})]})]})}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 a host org","description":"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.","icon":"link-2","href":"/salesforce-setup/connect-host-org"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Link the org","slug":"link-the-org","depth":2,"children":[]},{"title":"Build inside Salesforce","slug":"build-inside-salesforce","depth":2,"children":[]},{"title":"Choose whether to allow sharing","slug":"choose-whether-to-allow-sharing","depth":2,"children":[]},{"title":"Turn on Salesforce Web links","slug":"turn-on-salesforce-web-links","depth":2,"children":[]},{"title":"Pin apps for the org","slug":"pin-apps-for-the-org","depth":2,"children":[]},{"title":"Add shared org knowledge","slug":"add-shared-org-knowledge","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wisty","siteName":"Wisty","title":"Connect a host org - Wisty","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-20T17:44:24.295Z","originalFileLocation":"salesforce-setup/connect-host-org.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=\"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\">\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 a host org - Wisty\">\u003cmeta data-mint-head property=\"og:description\" content=\"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wisty\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://wisty.ai/docs/salesforce-setup/connect-host-org\">\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=Set+up+Salesforce\u0026amp;title=Connect+a+host+org\u0026amp;description=Link+a+Salesforce+org+so+people+can+build+and+use+Wisty+apps+with+their+Salesforce+login.\u0026amp;theme=e782b797ddc93d46fae28202\u0026amp;signature=ec30d894d786252c533a45715d67996e01d5a9050f0b31cde964cc805af8210b\">\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 a host org - Wisty\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wisty.mintlify.site/docs/_mintlify/api/og/v2?division=Set+up+Salesforce\u0026amp;title=Connect+a+host+org\u0026amp;description=Link+a+Salesforce+org+so+people+can+build+and+use+Wisty+apps+with+their+Salesforce+login.\u0026amp;theme=e782b797ddc93d46fae28202\u0026amp;signature=ec30d894d786252c533a45715d67996e01d5a9050f0b31cde964cc805af8210b\">\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/salesforce-setup/connect-host-org\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/salesforce-setup/connect-host-org.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/salesforce-setup/connect-host-org#webpage\",\"url\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org\",\"name\":\"Connect a host org\",\"description\":\"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\",\"dateModified\":\"2026-09-20T17:44:24.295Z\",\"isPartOf\":{\"@id\":\"https://wisty.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Set up Salesforce\",\"item\":\"https://wisty.ai/docs/salesforce-setup/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect a host org\",\"item\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org#article\",\"headline\":\"Connect a host org\",\"name\":\"Connect a host org\",\"description\":\"Link a Salesforce org so people can build and use Wisty apps with their Salesforce login.\",\"url\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org\",\"mainEntityOfPage\":{\"@id\":\"https://wisty.ai/docs/salesforce-setup/connect-host-org#webpage\"},\"dateModified\":\"2026-09-20T17:44:24.295Z\",\"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","icon":"rocket","href":"/getting-started/quickstart"},{"title":"Connect Salesforce","icon":"cloud","href":"/getting-started/connect-salesforce"},{"title":"Start from a template","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","description":"Install the Salesforce package, assign builders, and make the Wisty tab available to viewers.","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","description":"Grant building access, manage viewer access, and understand what each disable action stops.","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 a host org - 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"]}