How to Connect WordPress to Salesforce

Do you want to connect your WordPress website to Salesforce?

Salesforce is a leading cloud-based customer relationship management (CRM) platform that helps businesses streamline sales, service, marketing, and analytics. It enables teams to manage customer interactions, automate workflows, and gain real-time insights to drive growth and customer satisfaction.

Integrating your WordPress site with Salesforce allows you to seamlessly sync leads, contacts, and form submissions, enabling real-time customer relationship management. This boosts sales efficiency, improves follow-up accuracy, and ensures your marketing and support teams have up-to-date user data.

FuseWP lets you connect your WordPress site to your Salesforce account and perform actions, including syncing your users to your email list.

Follow the step-by-step guide below to connect FuseWP with your Salesforce account.

Connecting WordPress to Salesforce

We must create a Salesforce Connected App to connect your WordPress site to Salesforce via MailOptin.

Creating a Salesforce Connected App

Log in to your Salesforce account and navigate to the Setup page by selecting the gear icon in the top-right corner of the browser window.

Navigate to App >> App Manager and click the “New Connected App” button.

When creating your app, the following details are required for the app to function correctly with MailOptin:

  • Connected App Name — we recommend using “FuseWP Salesforce Connect”.
  • API Name — this field will be automatically populated
  • Contact Email — This field is required for any app you create in Salesforce
  • Enable OAuth Settings — this checkbox must be enabled
  • Enable for Device Flow — this checkbox must be enabled
  • Callback URL — This is usually https://yoursite.com/wp-admin/admin.php?page=fusewp-settings&view=general&fusewpauth=salesforce And you should replace yourwebsite.com with your website domain name.
  • Selected OAuth Scopes — Add the following scopes (highlight each scope, then click the “Add” arrow): Manage user data via APIs (API), Full Access (full), and Perform requests at any time (refresh_token, offline_access)
  • Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows – ensure this is not checked.

Create Salesforce connected app

When you are finished configuring the App, click Save.

Next, we need to retrieve the newly created app’s API credentials (Consumer Key and Consumer Secret).

On the app details page, click on “Manage Consumer Details”.

Salesforce connect app details page

The next page would reveal the Consumer Key and Consumer Secret. Copy and save them somewhere, as we will need them next.

View connected app's consumer/api details in Salesforce

Integrating the Salesforce App in FuseWP

The next step in connecting WordPress to Salesforce is implementing the consumer key and secret of the Salesforce Connected app you copied to the clipboard earlier in the FuseWP plugin.

Ensure you have FuseWP installed and activated on your WordPress website.

Go to FuseWP >> Settings. Click the “Configure” button in the Salesforce section to reveal the modal settings.

FuseWP integration listing

On the configuration modal, enter the Client ID and Client Secret of the OAuth application you created, and save.

At the Salesforce Connection section, enter the Consumer Key and Consumer Secret from the Salesforce app you created earlier and save.

After saving, open the Salesforce settings again and click the “Authorize Your Account” button.

You will be redirected to a Salesforce page asking you to log in securely to your account. Enter your Salesforce credentials, and after logging in, select the Allow button to grant OAuth access.

Salesforce oauth login page

Once the authorization process is complete, you should see a successful connection in FuseWP. Your Salesforce account is now connected to WordPress.

Connect WordPress to Salesforce Today

FuseWP makes connecting your WordPress site with Salesforce effortless, simplifying how you capture and manage leads, contacts, and customer data. By automating the flow of information between your site and Salesforce CRM, you can boost productivity, improve response times, and close more deals—without the manual work.

Unlock the full potential of your WordPress-powered business when you integrate with Salesforce using FuseWP and supercharge your sales and marketing operations today.

FuseWP Newsletter

Deals, Promotions and coupons are available only to subscribers

Invalid email address