---
schema_version: "1"
id: cc359e476b14449280800303d5ff8103964b362388ca13e81e55d16fecba0c8f
title: EinsteinAgentSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_einsteinagentsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_einsteinagentsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 12f5e768fd8ecb7e14eb6b2581b1c98ab32d9b144a36cd734fc5a0e2c7919558
description: Represents settings for Einstein classification apps, Einstein Case Classification and Einstein Case Wrap-Up, in an org. This type extends the Metadata metadata type and inherits its fullName field.
---
# EinsteinAgentSettings

Represents settings for Einstein classification apps, Einstein Case Classification and Einstein Case Wrap-Up, in an org. This type extends the Metadata metadata type and inherits its fullName field.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for details.

## File Suffix and Directory Location

EinsteinAgentSettings values are stored in the EinsteinAgent.settings file in the settings folder. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

EinsteinAgentSettings components are available in API version 52.0 and later. In API version 52.0, we renamed CaseClassificationSettings components to EinsteinAgentSettings components to reflect how we consolidated settings for Einstein Case Classification and Einstein Case Wrap-Up. CaseClassificationSettings components are available in API version 47.0 through 51.0.

## Fields

| Field Name | Field Type | Description |
| --- | --- | --- |
| einsteinAgentRecommendations | boolean | Indicates whether Einstein classification apps are enabled in your org. The default value is false. |
| reRunAttributeBasedRules | boolean | If true, skills-based routing rules are run after Einstein Case Classification automatically updates field values. The default value is false. |
| runAssignmentRules | boolean | If true, assignment rules are run after Einstein Case Classification automatically updates field values. The default value is false. |

## Declarative Metadata Sample Definition

The following is an example of a EinsteinAgentSettings component.

<?xml version="1.0" encoding="UTF-8"?>
<EinsteinAgentSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <einsteinAgentRecommendations\>true</einsteinAgentRecommendations\>
    <reRunAttributeBasedRules\>true</reRunAttributeBasedRules\>
    <runAssignmentRules\>true</runAssignmentRules\>
</EinsteinAgentSettings\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>EinsteinAgent</members\>
        <name\>Settings</name\>
    </types\>
    <version\>52.0</version\>
</Package\>