Add Salesforce MCP

Salesforce can be connected through "Oauth" flow, here's a guide how to connect Salesforce to Glassix AI agents


Step 1: Enable MCP server in Salesforce

  • Then click "Salesforce Servers" -> "Sobjects-all"
  • Activate the server

Step 2: Create external app in Salesforce

  • In Salesforce "Setup" -> search for "External Client App Manager" -> and click "New External Client App"
  • Fill in the mandatory fields
  • Enable API OAuth checkbox
🚧

"Contact Email" Input

Enter an email address you can access quickly — Salesforce will send a verification email to it shortly.

Step 3: New MCP connection in Glassix

Note: for more info about Salesforce MCP configs - click here

  • Navigate to Glassix settings -> AI agents -> MCP
  • Copy the MCP URL of the server you activated in Step 1.
    The URL depends on the type of Salesforce org you are connecting to:

Important: the URL must match your org type. If you connect to a Sandbox org but use the production URL (without /sandbox/), Salesforce will reject every request with the error JWT Token is required, and the agent will run without any Salesforce tools.

  • The server name at the end of the URL must be the same server you activated in Step 1. If you activated a different server (for example sobject-reads instead of sobject-all), use that name in the URL. For a custom server, use /custom/your-server-name (or /sandbox/custom/your-server-name for a Sandbox).
  • Now fill the inputs and paste the MCP URL -> click OAuth 2.0 -> click "Save & Connect"
  • Copy the "Callback URL"

Step 4: Connecting Salesforce & Glassix

  • In Salesforce: Paste the callback URL (1)
  • Add scopes: refresh token + mcp_api (2)
  • Copy credentials:: Click "Consumer Key and Secret" (3).
    Salesforce will send you a validation email -> after validation -> copy the ClientID + client secret (paste it in Glassix later)
  • Enable this checkbox under "Security"

You are now connected to Salesforce via MCP

Next steps: Navigate to a chosen agent and checkout how to add MCP tools.




Did this page help you?