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

# Salesforce Integration: Service Account Setup

> Connect Wolfia to Salesforce with a service-account user and dedicated permission set: sync accounts, opportunities, and leads for RFP context.

<Note>
  For Wolfia/Salesforce integration, service account based authentication is the preferred method. Other authentication methods are currently not supported.
</Note>

## Overview

The Salesforce integration allows Wolfia to sync customer information with your Salesforce instance. This integration enables bidirectional data flow for accounts, opportunities, and leads to provide rich context when responding to security questionnaires and RFPs, while also updating Salesforce with relevant information.

## What we sync

* **Accounts** – Company details and information (read and write)
* **Opportunities** – Deal data and metadata (read and write)
* **Leads** – Prospect information and status (read and write)

## Prerequisites

Before setting up the integration, you'll need:

* Admin access to your Salesforce instance
* Ability to create permission sets and users in Salesforce

## Setup instructions

### Step 1: Create a permission set

First, we'll create a dedicated permission set for the Wolfia integration with the necessary read and write permissions.

1. Navigate to **Setup → Users → Permission Sets**

2. Click **New** to create a new permission set

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/01-permission-sets-list.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=b07a08ca4e37d4f7e7d272dddfe5633c" alt="Permission Sets List" width="3456" height="1716" data-path="images/integrations/salesforce/01-permission-sets-list.png" />

3. Fill in the following details:

   * **Label**: `Wolfia Integration`
   * **API Name**: Will auto-populate
   * Leave other fields as default

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/02-create-permission-set-form.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=fdd39e9465c5eb77849cdc5d90f9b2ff" alt="Create Permission Set Form" width="3456" height="1716" data-path="images/integrations/salesforce/02-create-permission-set-form.png" />

4. Click **Save** to create the permission set
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/03-permission-set-created.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=af7f8c1c78d5242a698152f2ec161cd2" alt="Permission Set Created" width="3456" height="1716" data-path="images/integrations/salesforce/03-permission-set-created.png" />

### Step 2: Configure object permissions

Now we'll grant the necessary permissions for Accounts, Opportunities, and Leads.

1. In the permission set, navigate to **Object Settings**
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/04-object-settings-list.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=4b626699f6a13114980bcb33fb9d9a08" alt="Object Settings List" width="3456" height="1716" data-path="images/integrations/salesforce/04-object-settings-list.png" />

2. Select **Accounts** from the list
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/05-accounts-object-permissions.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=077dd81f306228c2c758d27a85efbf2f" alt="Accounts Object Permissions" width="3456" height="1716" data-path="images/integrations/salesforce/05-accounts-object-permissions.png" />

3. Click **Edit** to modify permissions

4. Under Object Permissions, enable:

   * **Read**
   * **Create**
   * **Edit**
   * **View All Records**
   * **Modify All Records**

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/06-edit-accounts-permissions.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=51841d002514657d70012f3d9679418a" alt="Edit Accounts Permissions" width="3456" height="1716" data-path="images/integrations/salesforce/06-edit-accounts-permissions.png" />

5. Click **Save** to apply the changes

6. Return to Object Settings and select **Opportunities**
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/07-opportunities-object-permissions.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=3cf0ce0ed3676c41c399ddcc3d15498d" alt="Opportunities Object Permissions" width="3456" height="1716" data-path="images/integrations/salesforce/07-opportunities-object-permissions.png" />

7. Click **Edit** and enable the same permissions:

   * **Read**
   * **Create**
   * **Edit**
   * **View All Records**
   * **Modify All Records**

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/08-edit-opportunities-permissions.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=265a3943bbbc87bf7cea8dd7ee597775" alt="Edit Opportunities Permissions" width="3456" height="1716" data-path="images/integrations/salesforce/08-edit-opportunities-permissions.png" />

8. Click **Save** to apply the changes

9. Return to Object Settings and select **Leads**

10. Click **Edit** and enable:
    * **Read**
    * **Create**
    * **Edit**
    * **View All Records**
    * **Modify All Records**

11. Click **Save** to apply the changes

### Step 3: Create an integration user

Next, we'll create a dedicated user for the API integration.

1. Navigate to **Setup → Users → Users**

2. Click **New User** to create a new user

3. Fill in the required information:

   * **Email**: Use a dedicated email for this integration
   * **Username**: Must be unique (e.g., `wolfia-integration@yourcompany.com`)
   * **User License**: Select `Salesforce Integration`
   * **Profile**: Select `Salesforce API Only System Integrations`

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/10-create-new-user-form.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=5b0c6b8de86b5adae57d6abe617f1d8b" alt="Create New User Form" width="3456" height="1716" data-path="images/integrations/salesforce/10-create-new-user-form.png" />

   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/11-user-profile-selection.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=4a7c20a3bf610e2418d9d1ceaff959f0" alt="User Profile Selection" width="3456" height="1716" data-path="images/integrations/salesforce/11-user-profile-selection.png" />

4. Click **Save** to create the user

### Step 4: Assign the permission set

Now we'll assign the Wolfia Integration permission set to the newly created user.

1. After creating the user, you'll be on the user detail page
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/12-user-detail-view.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=3213273dff019b8e768620afaab77a89" alt="User Detail View" width="3456" height="1716" data-path="images/integrations/salesforce/12-user-detail-view.png" />

2. Scroll down to **Permission Set** section and select **Permission Set Assignments** tab
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/13-user-permission-sets-section.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=39be52001958b209fe952a4671728494" alt="User Permission Sets Section" width="3456" height="1716" data-path="images/integrations/salesforce/13-user-permission-sets-section.png" />

3. Click **Add** and Search for `Wolfia Integration` in the available permission sets
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/14-permission-set-assignment-search.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=e4499f22882f284a7b7e37dea893fc72" alt="Permission Set Assignment Search" width="3456" height="1716" data-path="images/integrations/salesforce/14-permission-set-assignment-search.png" />

4. Select **Wolfia Integration** and click **Add** to move it to Enabled Permission Sets
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/15-add-permission-set.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=a72eaa17e01c8fea1564f0f512f7e485" alt="Add Permission Set" width="3456" height="1716" data-path="images/integrations/salesforce/15-add-permission-set.png" />

5. Click **Save** to assign the permission set
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/16-save-permission-assignment.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=9d9f1ce4c521238146de2090a96640ec" alt="Save Permission Assignment" width="3456" height="1716" data-path="images/integrations/salesforce/16-save-permission-assignment.png" />

### Step 5: Verify permissions

Let's verify that the permissions are correctly configured.

1. Navigate to the **User Access Summary** section
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/17-user-access-summary.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=3befc158fc597124abf46f618de5d396" alt="User Access Summary" width="3456" height="1716" data-path="images/integrations/salesforce/17-user-access-summary.png" />

2. Click on the **Object Permissions** tab
   <img src="https://mintcdn.com/wolfia/hr3SeGf5IVa0Yv_W/images/integrations/salesforce/18-object-permissions-tab.png?fit=max&auto=format&n=hr3SeGf5IVa0Yv_W&q=85&s=1b43d6d489ac07d0a9b223427ed5fc67" alt="Object Permissions Tab" width="3456" height="1716" data-path="images/integrations/salesforce/18-object-permissions-tab.png" />

3. Verify that you can see:
   * **Account** with `Read`, `Create`, `Edit`, `View All Records`, and `Modify All Records` permissions
   * **Opportunity** with `Read`, `Create`, `Edit`, `View All Records`, and `Modify All Records` permissions
   * **Lead** with `Read`, `Create`, `Edit`, `View All Records`, and `Modify All Records` permissions

### Step 6: Connect in Wolfia

Now connect Salesforce to Wolfia.

1. Log in to your Wolfia account
2. Navigate to **Trust Center → Integrations**
3. Find **Salesforce** in the list of available integrations
4. Click **Connect**
5. You'll be redirected to Salesforce to authorize the connection
6. Sign in with the integration user credentials and approve access
7. After authorization, you'll be redirected back to Wolfia
8. The integration will show as **Connected** and begin the initial data sync

## Security considerations

* The integration user has read and write access to Accounts, Opportunities, and Leads
* Enables bidirectional data sync for enriched context and workflow automation
* All data transmission is encrypted using HTTPS
* No delete permissions to prevent accidental data loss

## Troubleshooting

### Common issues

**Connection failed**

* Verify the username and password are correct
* Check that the instance URL is correct

**No data syncing**

* Verify the permission set includes "View All Records" and "Modify All Records" for Accounts, Opportunities, and Leads
* Ensure the permission set is assigned to the integration user
* Check that the user profile is set to "Salesforce API Only System Integrations"

**Permission denied errors**

* Review the Object Permissions in the User Access Summary
* Ensure Account, Opportunity, and Lead objects have Read, Create, Edit, View All Records, and Modify All Records permissions

## Support

If you encounter any issues during setup, please contact Wolfia support or consult your Salesforce administrator for assistance with permission configuration.
