> ## Documentation Index
> Fetch the complete documentation index at: https://help.os.translated.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up the Salesforce Knowledge connector

> Six steps, about 30 minutes

For Salesforce administrators.

**1. Install the package**

Install the connector package from the URL Translated gives you, **for all users**. It is not on AppExchange.

**2. Create a connected app**

1. Go to **App Manager > New Connected App**.
2. Name it, for example TranslationOS, and give a contact email.
3. Enable OAuth settings and set the callback URL.
4. Grant **Full access**, or at minimum the **API** scope.
5. Open **Manage Consumer Details**, retrieve the consumer key and secret, and send them to Translated.

**3. Configure custom metadata**

1. Find your Salesforce **Organization ID** under Company Information.
2. Create an `ApiConfiguration` record with the API type, org type, endpoints, API key, and your Organization ID as `Customer_Id`.

Use the sandbox URLs and sandbox key for your first tests. For production, remove the sandbox subdomain from the endpoints and swap in the production key.

**4. Configure translatable content and languages**

1. Add a `TranslatedField` record for each translatable field, using the **exact API name**, for example `Title`, `Question__c`, `Answer__c`.
2. Optionally add `Blacklisted Language` records to stop specific languages being ordered.

Without blacklisting, the connector can request any language your Knowledge app supports, which is usually more than you intend to pay for.

**5. Set up the integration user**

1. Create a dedicated user, for example `integration@yourdomain.com`.
2. Assign the **Minimum Access - API Only** profile.
3. Assign `TranslatedIntegrationPermissionSet` **to this user only**.
4. Assign `TranslatedAbilityTranslationRequest` to the regular users who need to request translation.
5. Optionally assign `TranslatedKnowledgeAutoPublish` to users allowed to publish automatically.

**6. Enable the interface**

**Knowledge list view.** Add a **Request bulk translation** list button.

**Knowledge record page.** Add a **Request translation** Lightning action to the page layout and the Lightning App Builder page.

**TranslationOS Orders page.** Add a **Cancel request** action and the `knowledgeTranslationRequest` component.

> [!WARNING]
>
> Changing the API key without changing the endpoint, or the reverse, is the usual cause of a working sandbox and a failing production setup.
>
> Keep the integration permission set on the integration user alone. Assigning it more widely gives users the connector's own access rather than the ability to use it.

## Testing

Test in sandbox with a real article type, including every field you listed, and confirm that a field you deliberately left out is not translated.

## Support

* General questions: `info-tos@translated.com`
* Technical questions and onboarding: `api@translated.com`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.