Einstein Trust Layer Region and Language Support
The Einstein Trust Layer detects and masks sensitive data such as personally identifiable information (PII) for multiple regions and languages.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive. |
Field-Based Data Masking
Field-based data masking supports all Salesforce languages. To learn more, see Large Language Model Data Masking and Select What Data To Mask.
Pattern-Based Data Masking
Sensitive data is identified using two methods:
- Model-based detection: Machine learning models are trained to identify specific data types such as names of people or companies. For example, the model can scan a block of text to detect a name and categorize it as the name of a person or a company.
- Regex and context-based detection: Detection is dependent on how precisely the text matches the regular expression (regex) pattern, the uniqueness of the pattern, and the proximity of relevant context words to the pattern.
These data types are supported in English, French, German, Italian, Japanese, and Spanish:
| Data Type | Pattern | Detection Method |
|---|---|---|
| Company Name | The name of a company or organization | Model- based |
| Credit Card | A 16 or 17 digit credit card number with or without spacing. For example, 4111 1111 1131 1121 | Regex pattern + relevant context words |
| Email Address | An email address. For example, astro@salesforce.com | Regex pattern + relevant context words |
| IBAN Code | An International Bank Account Number (IBAN) that starts with a two letter country code, two numbers, and an account number. For example, GB29NWBK60161331926819 | Regex pattern + relevant context words |
| Name | A person’s first, middle, or last name, or a combination. Titles, such as Mr., Ms., and Mrs. are also considered. | Model-based |
| Passport | A number listed on a passport
|
Regex pattern + relevant context words |
| Phone Number | A phone number with or without a country code. Phone format is supported for a specific region and language.
|
Regex pattern + relevant context words |
These data types are supported in English (United States) only:
| Sensitive Data Type | Pattern | Detection Method |
|---|---|---|
| United States driver’s license | US driving license number. Each state has a different format. The numbers range from 7 to 14 alphanumeric characters. | Regex pattern + relevant context words |
| United States Individual Taxpayer Identification Number | A US Individual Taxpayer Identification Number (ITIN) that includes 9 digits that start with a nine and contains 7 or 8 as the fourth digit. For example, 9XX-8X-XXXX | Regex pattern + relevant context words |
| United States Social Security number | A US Social Security Number (SSN) that includes 9 digits without any spaces, or 9 digits separated by dashes or spaces or periods. For example, 254941476, 254-94-1476, or 254.94.1476 | Regex pattern + relevant context words |
Toxicity Detection
The Einstein Trust Layer detects toxicity in responses and assigns a score using machine learning models. This score is stored in Data 360 as part of the audit trail. To learn more, see Toxicity Detection.
| Language | Region / Locale | Language | Supported? |
|---|---|---|---|
| Danish | Denmark | da_DK |
yes* |
| Dutch | Belgium | nl_BE |
yes* |
| Dutch | Netherlands | nl_NL |
yes* |
| English | Australia | en_AU |
yes* |
| English | Canada | en_CA |
yes* |
| English | India | en_IN |
yes* |
| English | Ireland | en_IE |
yes* |
| English | Singapore | en_SG |
yes* |
| English | United Kingdom | en_GB |
yes* |
| English | United States | en_US |
yes |
| French | Belgium | fr_BE |
yes* |
| French | Canada | fr_CA |
yes* |
| French | France | fr_FR |
yes |
| French | Switzerland | fr_CH |
yes* |
| German | Austria | de_AT |
yes* |
| German | Germany | de_DE |
yes |
| German | Switzerland | de_CH |
yes* |
| Italian | Italy | it_IT |
yes |
| Italian | Switzerland | it_CH |
yes* |
| Japanese | Japan | ja_JP |
yes |
| Korean | Korea | ko_KR |
yes* |
| Norwegian | Norway | nb_NO
nn_NO |
yes* |
| Portuguese | Brazil | pt_BR |
yes* |
| Portuguese | Portugal | pt_PT |
yes* |
| Spanish | Mexico | es_MX |
yes* |
| Spanish | Spain | es_ES |
yes |
| Swedish | Sweden | sv_SE |
yes* |
| Thai | Thailand | th_TH |
yes* |
yes* = The presence of region-specific language presents difficulties in effectively identifying harmful or inappropriate content. Einstein Trust Layer doesn’t always identify such content with 100% accuracy, especially when it involves region-specific language patterns.
Prompt Injection Detection
Prompt injection detection is supported only in the English (United States) language.
Citations
Citations are supported in English, French, German, Italian, Portuguese (Brazilian) and Spanish.

