MeshMeshBeta
Guides

Set Up the MeshMesh Managed Package

Install the MeshMesh Studio package in your Salesforce org so your team can connect in one click. This is the default way to connect Salesforce.

The MeshMesh Studio managed package is the default way to connect a Salesforce org to MeshMesh. A Salesforce admin installs it once per org. After that, anyone in the org can connect from MeshMesh with one click. Nobody has to create an app or copy credentials.

The package installs an External Client App called MeshMesh Studio in your org. MeshMesh uses it to sign users in with OAuth. MeshMesh never sees or stores Salesforce passwords.

Before you start

  • You need a Salesforce admin for the org you want to connect.
  • Decide which org you're setting up: production, a sandbox, or a developer org. Install the package separately in each org you want to connect.

Set up the org (one-time, admin)

Sign in to the target org

In your browser, sign in to the Salesforce org you want to connect before you open the install link. If you're signed in to a different org, the package installs there instead.

The package is the same everywhere. Only the host in the link changes:

OrgInstall link
Production or developer orghttps://login.salesforce.com/packaging/installPackage.apexp?p0=04tfj000000c8ivAAA
Sandboxhttps://test.salesforce.com/packaging/installPackage.apexp?p0=04tfj000000c8ivAAA
My Domainhttps://<your-my-domain-host>/packaging/installPackage.apexp?p0=04tfj000000c8ivAAA

For My Domain, use your org's host, for example https://acme.my.salesforce.com/... or, for a sandbox, https://acme--uat.sandbox.my.salesforce.com/....

Install for all users

When Salesforce asks, choose Install for All Users, then finish the install.

Enable the External Client App

In Salesforce Setup, go to External Client App Manager, find MeshMesh Studio and click Enable.

That's the whole admin setup. Send your team the next section.

Connect from MeshMesh

Open Connections

In MeshMesh, open Connections and add a Salesforce connection. MeshMesh App is selected by default.

Pick the environment

Choose Production, Sandbox or Custom Domain to match the org where the package is installed. For Custom Domain, enter the org's My Domain URL.

Sign in and approve

Click Connect, sign in to Salesforce in the browser and approve access. You're sent back to MeshMesh when it's done.

Choose which Salesforce user connects

Agents act with the permissions of the Salesforce user who signs in. They can do what that user can do, and nothing more.

To limit what agents can do, sign in as a dedicated integration user whose profile and permission sets grant only the access you want. For read-only access, leave out permissions such as Modify All Data, Customize Application, Author Apex and Manage Users, and give the user read access to the objects agents need.

If you want MeshMesh itself to enforce read-only access to a production org, use Salesforce Headless 360 (Read-Only) instead.

Updating the package

When there's a new version, open the same install link for your org. The package upgrades in place, and existing connections keep working.

Troubleshooting

"External client app not installed": the package isn't installed or enabled in the org you're connecting to. Install it with the link for that org, then enable MeshMesh Studio in Setup → External Client App Manager.

"Cross-org OAuth error": the package must be both installed and enabled in the org you're connecting to. Go to Setup → External Client App Manager → MeshMesh Studio → Enable.

"Grant type not supported": the environment you picked in MeshMesh doesn't match the org where the package is installed, for example the package is in production but you picked Sandbox. Pick the matching environment, or install the package in the org you want.

Connection timeout: make sure your browser can reach login.salesforce.com, or test.salesforce.com for sandboxes.

For other ways to connect, see Connecting a Salesforce Org.