AgentforceConnectionInfo
Structure that encapsulates connection information for Agentforce services, including the service API URL and tenant identifier. This information is used to route requests to the appropriate Agentforce service endpoints.
| Property | Type | Description |
|---|---|---|
sfapURL | String | The Salesforce API Platform (SFAP) URL used for Agentforce service communication. |
tenantId | String | The tenant identifier that uniquely identifies the Salesforce organization's Agentforce service instance. |
| Method | Signature | Description |
|---|---|---|
init | init(sfapURL:tenantId:) | Creates a connection info instance with the specified SFAP URL and tenant ID. |
When agentforceConnectionInfo is nil in AgentforceConfiguration, the SDK automatically queries connection information from the configured forceConfigEndPoint during initialization.