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.

PropertyTypeDescription
sfapURLStringThe Salesforce API Platform (SFAP) URL used for Agentforce service communication.
tenantIdStringThe tenant identifier that uniquely identifies the Salesforce organization's Agentforce service instance.
MethodSignatureDescription
initinit(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.