> For the complete documentation index, see [llms.txt](https://docs.voiceb.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.voiceb.ai/how-to-connect-your-voiceb.ai-agent-with-salesforce/how-to-register-a-local-external-client-app-in-salesforce.md).

# How to register a local External Client App in Salesforce

### :white\_check\_mark: Prerequisites

* You have enough permissions to create connected apps

### Steps

* Go to setup > **Plaftorm Tools** > **Apps** > **External** **Client** **Apps** > **External** **Client** **App** **Manager**
* Click on **New External Client App**
* Fill the Basic Information as you wish

<figure><img src="/files/TR5d2fOqO1nOWqDgvUF8" alt=""><figcaption></figcaption></figure>

### API Section

* Check **Enable OAuth**
* Set **Callback URL** as <https://api.nango.dev/oauth/callback>
* Select the following **OAuth Scopes**:
  * Access the identity URL service (id, profile, email, address, phone)
  * Manage user data via APIs (api)
  * Perform requests at any time (refresh\_token, offline\_access)

<figure><img src="/files/sZZu4uKkQaiMNXexGmX8" alt=""><figcaption></figcaption></figure>

### Security Section

* Ensure the that bellow options are checked
  * Require secret for Web Server Flow
  * Require secret for Refresh Token Flow
  * Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows

<figure><img src="/files/TtPKHJyHIWI3IclZ6ozb" alt=""><figcaption></figcaption></figure>

* Click on **Create**

### Providing credentials to VoiceB

After clicking create it may take a while meanwhile Salesforce generate the Consumer Key and Consumer Secret.

You will find them under OAuth Settings section of your created app. By clicking on Consumer Key and Secret button, Salesforce will request validation sending a code to your email before showing them.

Since Salesforce integration is currently in beta, you'll need to contact VoiceB in order to provide the credentials.

<figure><img src="/files/n4nwxkFqXhSURC0pGBJE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.voiceb.ai/how-to-connect-your-voiceb.ai-agent-with-salesforce/how-to-register-a-local-external-client-app-in-salesforce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
