# Find configuration details - Salesforce

{% hint style="success" %}
If you haven't added a Connected App for this integration in Salesforce yet, [please refer to this page first](https://guides.clickatell.com/integrations/salesforce/add-new-connected-app-salesforce).
{% endhint %}

When you [add a new Salesforce configuration](https://guides.clickatell.com/integrations/getting-started/adding-a-new-integration), there are **four required fields** you have to complete in the Clickatell Portal:

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/KsnqWugqpyla9QCW7U9X/image.png" alt=""><figcaption></figcaption></figure>

### 1. Configuration Name

* Give a name to your integration so you can easily identify it.&#x20;
* This can be anything (max. 30 characters).

### 2. Host Name

* Your Host Name is unique and is the first part of your URL when logged into Salesforce, up until the *.com/.*&#x20;
* Copy this part of the URL over to the Clickatell Portal as the Host Name.
* ***Example***: *<https://clickatell--chathub.sandbox.my.salesforce.com/>*

### 3. & 4. Client ID and Client Secret

To find the Client Secret and ID:

* Log in to your Salesforce account.
* Click the *Settings* icon, and then *Setup*.

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/HSjMt3HqhL5sy2NSeOGv/image.png" alt=""><figcaption></figcaption></figure>

* Using the search bar, find *Manage Connected App.*
* Select the connected Clickatell app that you want to integrate.

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/GVrEpXRf3lLPoTPDgG6F/image.png" alt=""><figcaption></figcaption></figure>

* Click *Manage Consumer Details*.

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/2aCiGeQ82eLOiBxaZQnA/image.png" alt=""><figcaption></figcaption></figure>

* Enter the verification code that is emailed to you and click “Verify”.

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/Svhjz55V1VrOLkL3h26Y/image.png" alt="" width="375"><figcaption></figcaption></figure>

* Copy the “Consumer Key” over to the Clickatell Portal as the **Client ID.**
* Copy the “Consumer Secret” over to the Clickatell Portal as the **Client Secret.**

<figure><img src="https://content.gitbook.com/content/xcMbyh2AMn0FTzC5pCX6/blobs/IxsVxZkj03Z3czgKxAjI/image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://guides.clickatell.com/integrations/salesforce/find-configuration-details-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.
