Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

To Configure a REST Proxy

  1. Construct the Mule XML configuration to specify the REST proxy as shown in the following example:

+ . In the API project, configure the property placeholders in the configuration in the mule-app.properties file, which you can find in the Package Explorer under src/main/app.

+

api.id=apiId
api.name=My API
api.version=1.0.0
api.description=This is my API
proxy.path=/api/*
implementation.host=www.google.com
implementation.port=80
implementation.path=/
http.port=8081
text

+ If an API requires HTTPS communication, or returns internal API URLs as part of the response, additional configuration might be required.

+ The downloaded file is a deployable proxy application.

+ . If needed, modify the downloaded zip file to adjust for port conflicts, use shared connector resources, or include custom code for logic that you want to add to the proxy. Deploy the proxy application.

+ After deployment, the yellow circle in the status indicator turns green.