---
schema_version: "1"
id: 5b234cfea135fdb4700d778b8e0695a38067b346ca082604c9da97eb208cf44e
title: Anypoint Studio を使用した Agentforce Connector 1.0 の設定
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/agentforce-connector/1.0/agentforce-connector-studio.md
canonical_url: https://docs.mulesoft.com/jp/agentforce-connector/1.0/agentforce-connector-studio
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0ec9cc3f671831938297b966df951b3c4605999c26b0386323671832a54b68e4
description: MuleSoft Documentation Site
release: "1.0"
latest: false
---
# Anypoint Studio を使用した Agentforce Connector 1.0 の設定

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

## [](#create-mule-project)Mule プロジェクトを作成する

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

## [](#add-connector-to-project)コネクタを Mule プロジェクトに追加する

Agentforce Connector を Mule プロジェクトに追加して、XML コードにコネクタの名前空間およびスキーマの場所を自動的に入力し、プロジェクトの ​`pom.xml`​ ファイルに必須の連動関係を追加します。

1. **\[Mule Palette (Mule パレット)\]**​ で、​**\[(X) Search in Exchange ((X) Exchange 内を検索)\]**​ をクリックします。
2. **\[Add Dependencies to Project (連動関係をプロジェクトに追加)\]**​ で、検索項目に​`「agentforce」`​と入力します。
3. **\[Available modules (使用可能なモジュール)\]**​ で ​**\[Agentforce Connector\]**​ をクリックします。
4. **\[Add (追加)\]**​ をクリックします。
5. **\[Finish (完了)\]**​ をクリックします。

Studio でコネクタを Mule プロジェクトに追加しても、Studio ワークスペースの他のプロジェクトはそのコネクタを使用できません。

## [](#configure-source)ソースの設定

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\] 次の入力元のいずれかを設定して、Agentforce Connector で使用できます。

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

## [](#add-connector-operation)フローにコネクタの操作を追加する

フローにコネクタの操作を追加するときは、そのコネクタで実行するアクションを指定しています。

Agentforce Connector の操作を追加するには、次の手順に従います。

1. **\[Mule Palette (Mule パレット)\]**​ で ​**\[Agentforce Connector\]**​ を選択し、追加する操作を選択します。
    
    !["\[Agentforce Connector](/mulesoft/current/ja-jp/agentforce-connector/1.0/_images/agentforce-operations.png) が選択され、コネクタのすべての操作がリストされている Studio の \[Mule Palette (Mule パレット)\]"\]
2. その操作を Studio キャンバスのソースの横にドラッグします。

## [](#configure-global-element)コネクタのグローバル要素を設定する

コネクタを設定する場合、アプリケーション内のそのコネクタのすべてのインスタンスで使用できるグローバル要素を設定します。グローバル要素を設定するには、コネクタが対象のシステムにアクセスするために必要な認証ログイン情報を指定する必要があります。

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

Agentforce Connector のグローバル要素を設定する手順は、次のとおりです。

1. Studio キャンバスで操作を選択します。
2. 操作のプロパティ画面で、\[Add (追加)\] (​**+**​) アイコンをクリックして、グローバル要素設定項目にアクセスします。
3. **\[Global Element Properties (グローバル要素プロパティ)\] > \[General (一般)\]**​ タブで、次の情報を入力します。
    
    - **Client Id (クライアント ID)**
        
        サービスプロバイダーに登録されている OAuth 公開クライアント ID。
    - **Client Secret (クライアントシークレット)**
        
        クライアント ID に対応する OAuth クライアントシークレット。
    - **Token URL (トークン URL)**
        
        サービスプロバイダーのトークンエンドポイント URL。
    - **Scopes (スコープ)**
        
        OAuth ダンス時に要求する OAuth スコープ。
4. **\[OK\]**​ をクリックします。

## [](#configure-other-fields)その他のコネクタ項目の設定

コネクタのグローバル要素を設定したら、他の必須項目を設定します。必須項目は、使用するコネクタ操作によって異なります。

## [](#view-app-log)アプリケーションログの表示

Unresolved include directive in modules/ROOT/pages/agentforce-connector-studio.adoc - include::connectors::partial$t-studio-partial.adoc\[\]

## [](#関連情報)関連情報

- [Anypoint Connector の概要](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)
- [Studio を使用したコネクタの設定](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio)
- [Agentforce Connector リファレンス](https://docs.mulesoft.com/jp/agentforce-connector/1.0/agentforce-connector-reference)
- [Agentforce Connector のエージェント操作の設定](https://docs.mulesoft.com/jp/agentforce-connector/1.0/configuring-agent-operations)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)