Prepare your Marketing Cloud app
Before you register the connector with Dynamic Client Registration (DCR), create an installed package in Marketing Cloud Engagement to get the client ID and tenant ID for the MCP server URL.- In Marketing Cloud Engagement Setup, go to Apps, then select Installed Packages
- Select New, enter a name for the package, then save your changes
- On the package’s detail page, select Add Component
- For the component type, select API Integration, then select Next
- For the integration type, select Public App, then select Next
- In the Redirect URIs section, enter
https://salesforce.comas a temporary placeholder. You replace this value in a later step - In the Scope section, select only the permission scopes the connector needs for the tasks you assign your agents. For example, to let agents create and modify data extensions, select the Data Extensions read and write scopes
- Save the component, then note the Client ID (a 24-character alphanumeric string) and the Tenant ID on the package’s detail page. The tenant ID is the part of your Authentication Base URI before
.auth.marketingcloudapis.com. For example, if your Authentication Base URI ishttps://mcphchq9d5b8mlzeyc2v1example.auth.marketingcloudapis.com/, your tenant ID ismcphchq9d5b8mlzeyc2v1example - In the API Integration section, select Edit, then replace the placeholder redirect URI with your regional callback URL, substituting your tenant ID and client ID:
- US:
https://mai-mce-mcp-cdp1.sfdc-yfeipo.svc.sfdcfc.net/t/{tenantId}/c/{clientId}/api/mcp/oauth/callback - EU:
https://mai-mce-mcp-cdp1.sfdc-yzvdd4.svc.sfdcfc.net/t/{tenantId}/c/{clientId}/api/mcp/oauth/callback
- US:
- Select the region closest to you. The region only affects connection latency; Salesforce’s MCP servers don’t store any data they access
Get your tenant URL
Use the regional MCP server URL from Salesforce’s setup guide as the connector’s Tenant URL. Replace the tenant and client placeholders with your package’s values. For the US server, use:Configure the connector in Control Center
After completing the Salesforce app setup, configure the connector in Control Center:Dynamic client registration means WRITER Agent dynamically creates and
manages OAuth credentials when you authorize the connection. You still
create a Marketing Cloud package to
get a client ID and tenant ID for the MCP server URL, but you don’t
provide a separate OAuth client secret.
- Navigate to Integrations > Connectors
- Select the Salesforce Marketing Cloud connector
- Select who has access by default, either all users or specific teams
- Select the connection level, select Dynamic client registration as the Managed by option, and select which tools to enable for your agents
- Paste the regional MCP server URL into Tenant URL
- Complete the OAuth authorization flow for your Marketing Cloud account
Next steps
Use these guides to manage connector access and work with connected tools:- Set up connectors: Configure and enable connectors in Control Center
- Tool calling guide: Understand how agents use tools in conversations
- WRITER Agent guide: Use WRITER Agent with connected tools
- MCP gateway overview: Learn about WRITER’s MCP gateway architecture