---
schema_version: "1"
id: 30117b9a02f34e5981b5f3d52a823784c20034e2a3247d02d50ccc23e93dffc3
title: ServiceAgentConfiguration
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/ios/service-agent-configuration-ios.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/service-agent-configuration-ios.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f2a113abd5ab7bd50554b9ac045a40eda7fd055c5e292eeebac2c360930c9a72
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# ServiceAgentConfiguration

## Overview

Streamlined configuration for service agent integrations with automatic defaults.

## Declaration

```swift
struct ServiceAgentConfiguration
```

## Properties

| Property            | Type                | Description                                                      |
| ------------------- | ------------------- | ---------------------------------------------------------------- |
| `esDeveloperName`   | `String`            | The Einstein Service developer name for the target service agent |
| `organizationId`    | `String`            | The Salesforce organization identifier (15 or 18-character)      |
| `serviceApiURL`     | `String`            | The service API endpoint URL for Agentforce communication        |
| `serviceUISettings` | `ServiceUISettings` | UI-specific settings for the service agent                       |

## Methods

| Method | Signature                                                               | Description                                                       |
| ------ | ----------------------------------------------------------------------- | ----------------------------------------------------------------- |
| `init` | `init(esDeveloperName:organizationId:serviceApiURL:serviceUISettings:)` | Creates a service configuration for streamlined agent integration |
