Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions agentforce/1.2/antora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: agentforce-connector
version: '1.2'
display_version: 1.2 (Mule 4)
title: Agentforce Connector
nav:
- modules/ROOT/nav.adoc
asciidoc:
attributes:
page-component-desc: Enables you to design, build, and manage AI agents within Anypoint Platform.
page-connector-type: Connector
page-connector-level: Select
page-exchange-group-id: com.mulesoft.connectors
page-exchange-asset-id: mule4-agentforce-connector
page-runtime-version: 4.6.9
page-release-notes-page: release-notes::connector/agentforce-connector-release-notes-mule-4.adoc
page-vendor-name: MuleSoft
page-vendor-title: MuleSoft
page-notice-banner-message: Standard support for Java 8 and 11 ends in March 2025 for Mule 4.8 Edge and February 2026 for 4.6 LTS. Plan your upgrade path for apps that are running on Java 8 or 11 accordingly.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions agentforce/1.2/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.xref:index.adoc[Agentforce Connector]
* xref:index.adoc[Agentforce Connector Overview]
* xref:agentforce-connector-config-acb.adoc[Using Anypoint Code Builder to Configure Agentforce Connector]
* xref:agentforce-connector-studio.adoc[Using Anypoint Studio to Configure Agentforce Connector]
* xref:configuring-agent-operations.adoc[Configuring Agent Operations for Agentforce Connector]
* xref:agentforce-connector-xml-maven.adoc[Agentforce Connector XML and Maven Support]
* xref:agentforce-connector-reference.adoc[Agentforce Connector Reference]
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
= Using Anypoint Code Builder to Configure Agentforce Connector 1.2

include::connectors::partial$configure-acb-connectors-partial.adoc[tag="acb-connector-config-intro"]

[[create-new-integration-project]]
== Create a New Integration Project

include::connectors::partial$configure-acb-connectors-partial.adoc[tag="acb-create-integration-project"]

[[add-components-to-project]]
== Add Components to Your Project

include::connectors::partial$configure-acb-connectors-partial.adoc[tag="acb-add-components-to-project"]

[[configure-http-trigger]]
== Configure the Trigger For the Flow

include::connectors::partial$configure-acb-connectors-partial.adoc[tag="acb-configure-source"]

[[add-connector-to-project]]
== Add the Connector to Your Integration Project

. In the Explorer view, open the configuration XML file for your project, such as `my-project-name.xml`.
. Click the image:anypoint-code-builder::icon-tree-view.png["Show Mule graphical mode icon",15,15] (*Show Mule graphical mode*) icon in the activity bar to open the canvas UI if it doesn't open automatically.
. Add the connector the same way you added other components from the canvas UI:
.. In the canvas UI, click the image:anypoint-code-builder::icon-plus.png["Add component icon",15,15] (*Add component*) icon.
.. In the *Add Component* panel, click *Connectors*.
. Click the image:anypoint-code-builder::icon-search-exchange.png["Search in Exchange icon",15,15] (*Search in Exchange*) toggle:
+
image:anypoint-code-builder::int-connector-search-exchange.png["Search in Exchange toggle"]
. Enter `agentforce` in the search box.
. Select the connector to add it to your project.

Adding a connector to an integration project doesn't make that connector available to other projects in your Anypoint Code Builder workspace.

[[add-global-config]]
== Add a Global Configuration

. In the configuration XML, place your cursor before the `<flow/>` element and type `agentforce`.
+
Ensure that the cursor is not inside the `<flow/>` element.
. Select the `ms-agentforce:config` snippet:
+
The snippet adds the following code:
+
[source,xml]
----
<ms-agentforce:config clientId="#[]" clientSecret="#[]" />
----
. Add the attributes to complete the configuration, for example:
+
[source,xml]
----
<ms-agentforce:config name="Agentforce_Config" doc:name="Agentforce Config" doc:id="e3428ee2-d4ee-47dc-ba7e-30073f69165e" >
<ms-agentforce:oauth-client-credentials-connection >
<ms-agentforce:oauth-client-credentials clientId="clientid" clientSecret="supersecret" />
</ms-agentforce:oauth-client-credentials-connection>
</ms-agentforce:config>
----
+
This example shows a flow named "Define_Prompt" with two global elements defined (`http:listener-config` and `ms-agentforce:config`)
+
[source,xml]
----
<http:listener-config basePath="/path" name="HTTP-Listener-config">
<http:listener-connection host="0.0.0.0" port="8081">
</http:listener-connection>
</http:listener-config>
<ms-agentforce:config name="Agentforce_Config" doc:name="Agentforce Config" doc:id="e3428ee2-d4ee-47dc-ba7e-30073f69165e" >
<ms-agentforce:oauth-client-credentials-connection >
<ms-agentforce:oauth-client-credentials clientId="clientid" clientSecret="supersecret" />
</ms-agentforce:oauth-client-credentials-connection>
</ms-agentforce:config>
<flow name="Define_Prompt">
----

== Configure Additional Connector Fields

After you configure a global element for the connector, configure the other required fields. The required fields vary depending on which connector actions you use.

For more information about configuring Agentforce Connector actions, see xref:configuring-agent-operations.adoc[].

== See Also

* xref:connectors::introduction/introduction-to-anypoint-connectors.adoc[]
* xref:agentforce-connector-reference.adoc[Agentforce Connector Reference]
* xref:configuring-agent-operations.adoc[]
* https://help.mulesoft.com[MuleSoft Help Center]
Loading