---
schema_version: "1"
id: e5f5e8247c8c8751bd14baf840b580c30f6a4b312fb2059c99a060759ac6516e
title: ServiceAgentConfiguration
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/android/service-agent-configuration-android.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/service-agent-configuration-android.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 70795682f61f64e40c4094b83e69442f75e1d892f09130799e8530bb3b1fc69b
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# ServiceAgentConfiguration

`class ServiceAgentConfiguration`

## Signature

```kotlin
class ServiceAgentConfiguration
```

Configuration class for service agent settings.

## Types

### Builder

```kotlin
class Builder(
    esDeveloperName: String,
    organizationId: String,
    serviceApiURL: String
)
```

### Companion

```kotlin
object Companion
```

## Properties

| Property          | Type              | Description                     |
| ----------------- | ----------------- | ------------------------------- |
| esDeveloperName   | String            | Embedded Service developer name |
| organizationId    | String            | Organization identifier         |
| serviceApiURL     | String            | Service API endpoint URL        |
| serviceUISettings | ServiceUISettings | Service UI settings             |

## Builder Functions

| Function             | Signature                                                        | Description                                  |
| -------------------- | ---------------------------------------------------------------- | -------------------------------------------- |
| build                | `fun build(): ServiceAgentConfiguration`                         | Creates a ServiceAgentConfiguration instance |
| setServiceUISettings | `fun setServiceUISettings(settings: ServiceUISettings): Builder` | Sets the service UI settings                 |

## Related Documentation

- [AgentforceMode](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-mode-android.md)
- [AgentforceConfiguration](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-configuration-android.md)
