> For the complete documentation index, see [llms.txt](https://docs.makerobos.com/frontman-enterprise-chatbot-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.makerobos.com/frontman-enterprise-chatbot-platform/story-builder/cards/plugin-cards/salesforce-crm.md).

# Salesforce CRM

## **About** Salesforce&#x20;

Salesforce is a cloud-based Customer Relationship Management (CRM) platform that enables businesses to manage customer data, sales operations, and marketing campaigns

## **What we Offer**&#x20;

The Salesforce Plugin Card allows you to seamlessly integrate your Frontman instance with your Salesforce CRM account. The Salesforce Plugin Card streamlines your workflow by enabling a direct connection between the two platforms. This means you can access and utilize valuable customer data from within Frontman, eliminating the need to switch between applications.

## Walkthrough of Connecting Salesforce and Frontman

1. Create an account using[ ](https://login.salesforce.com/)<https://login.salesforce.com/> and just sign into your account if you already have one. Also, don't forget to verify your email before moving forward.
2. Once you sign in go to "App Manager" section and click on "New Connected App" and fill all the details required.
3. After this you have to verify your email id and once verified your app will be created successfully
4. After connecting, set fields in the "Salesforce CRM Block" you dragged in the story builder and run the chatbot.
5. Submitted entries will appear in Salesforce CRM's "Contacts" section.

## A. How to Create a App in Salesforce&#x20;

1. Create an account and just sign into your account if you already have one. Also, don't forget to verify your email before moving forward.

{% embed url="<https://login.salesforce.com/>" %}

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FWkjR7OeFXgtWWc71vL0b%2FScreenshot_175.png?alt=media&amp;token=16147bb3-21eb-4451-b765-43c3485b8bf4" alt=""><figcaption></figcaption></figure>

2\. Once sign in, go to you "Apps\<App manager" and click on "New Connected App"&#x20;

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FKNf4QdPS8Ub4ec9ZopRO%2FScreenshot_138.png?alt=media&amp;token=b50de4b1-d597-491e-a998-e5980653f63c" alt=""><figcaption></figcaption></figure>

3. Here you can add all your details like name, API name, Email id and Phone number.&#x20;

   <figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FFobAxzEvWnPhfWwWTHGV%2FGroup%20209.png?alt=media&amp;token=1d5b7ce6-091e-4fea-9be1-c68b27e95a4c" alt=""><figcaption></figcaption></figure>

4\. Add your Redirect URL from Frontman Salesforce Settings and paste it in Salesforce app manager. With that you must give permissions of the all the available OAuth Scopes. And don't forget to check "Require Secret for Web Server flow"

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FHbxcRmjVjLza8DcemtEV%2FGroup%20210.png?alt=media&amp;token=122c1935-5757-480b-a2f7-d2fa2b1065cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2F2WjbHxtBVghA81djO06e%2FScreenshot_142.png?alt=media&amp;token=6e4d7d79-c5e0-41fa-9e7c-2c2bbff3292d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FTXzNxQUmMoK9WTbZaA5W%2FScreenshot_149.png?alt=media&amp;token=487deba9-9b5f-474b-b268-f0c597f3dc51" alt=""><figcaption></figcaption></figure>

5\. After this simply save your progress and create the app.After this you'll land on Consumer Details page from where you can copy "Consumer Key" and "Consumer Secret"

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FwM9Un53jte2DUg5eM2TT%2FScreenshot_146.png?alt=media&amp;token=f746fc15-68fe-4716-bcfd-e9e6f2efeb77" alt=""><figcaption></figcaption></figure>

### B.  How to Integrate Salesforce CRM in Frontman -

1. **Sign in to Salesforce:** Begin by logging into your Salesforce account using your credentials at&#x20;

{% embed url="<https://login.salesforce.com/?locale=in>" %}

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FZKFnKTqxdrzjl3E9gofe%2Fimage.png?alt=media&amp;token=26ad0cd3-3796-445d-930d-2ccc94b2a679" alt=""><figcaption></figcaption></figure>

2. **Establish Connection:** Once you have installed the Salesforce CRM plugin for Frontman, locate and access the "**Connect**" option within the plugin's settings.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FEGZ30LCs4rkbtX7qcp8M%2Fsales%20force.png?alt=media&amp;token=9bc106f9-d73f-4532-a352-be211905293e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FCCdrRtgGh0nPQ1Hj3ZTu%2FGroup%20211.png?alt=media&amp;token=ce54b532-c7c9-48c3-88f9-388a15ced523" alt=""><figcaption></figcaption></figure>

3. **Connect using Credentials:** To establish a connection, enter your Salesforce CRM "Consumer Key" and "Consumer Secret" in the designated fields.&#x20;

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FE5xR48JmE1kLl96GtHWP%2FScreenshot_151.png?alt=media&amp;token=92a24948-d4af-429e-8a5a-1fe69e59300d" alt=""><figcaption></figcaption></figure>

4. **View and Manage Settings:** After successful connection, you can access and modify the connection details using the "View Settings" button.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FvWlDIKzKZXMvrRjWT0ID%2FScreenshot_176.png?alt=media&amp;token=2bd2be40-9b0a-4c21-9875-9fe5ec63d23b" alt=""><figcaption></figcaption></figure>

5. **Select Fields for Synchronization:** There are two primary methods for selecting the data fields you want to synchronize between Salesforce CRM and Frontman:
   * **Manually Add Fields:** Here, you can handpick the specific Salesforce CRM data fields you want to integrate with Frontman. Essential fields like Email (required), Phone Number, and Name are recommended, along with any custom fields you utilize.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FMBT7KMl4TevOl5Jg49JU%2FScreenshot_152.png?alt=media&amp;token=e72abdb3-9b4e-4898-8871-ebeea06b2ae3" alt=""><figcaption></figcaption></figure>

* **User Attributes:** This method leverages existing user attributes within Frontman to pre-populate corresponding fields in Salesforce CRM. This streamlines data collection by automatically mapping Frontman's user data to relevant fields in Salesforce CRM.

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2Fr6URjoIMSyyV9dUEeTYw%2FScreenshot_177.png?alt=media&amp;token=8419278e-928e-4684-998c-1bdb97828f8f" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/zFy1Veslzw6WZHIxShUT" %}
[User Attributes](/frontman-enterprise-chatbot-platform/audience/user-attributes.md)
{% endcontent-ref %}

6. Once the connection and field selection are complete, run your chatbot as usual. Data collected through Frontman interactions will be automatically synced with your designated Salesforce CRM fields, keeping your CRM data up-to-date. You can view it in "Contacts" section of your CRM

<figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FOk5lNnLZxyK7KXsKR5Wn%2FScreenshot_153.png?alt=media&amp;token=5671cf56-7b43-46ce-8e2a-d75e53eb6c3e" alt=""><figcaption></figcaption></figure>

<br>
