WordPress with Salesforce integration

WordPress is the world's most used Content Management System (CMS), and Salesforce is the leading Customer Relationship Management (CRM) platform.

Tightly integrating an open-source content management system with Salesforce provides a powerful and cost-effective way to increase engagement with our customers and make it easier to organize data without much manual overhead. In this article, we can learn how to integrate WordPress with Salesforce by saving the post in WordPress and get those post through REST API to Salesforce community/websites.


  • WordPress is an open-source content management system
  • It helps to create and manage our own website with less coding knowledge
  • It is a versatile CMS and the most powerful tool for managing the blogs.
  • Websites can be designed at low cost with more functionality.

Why WordPress?

WordPress is user-friendly and easy setup configuration. They provide so many plugins and themes for customization. Developer with less coding knowledge can design the websites. In salesforce we have some storage limit for data whereas in WordPress we can store large amount of data.

WordPress setup:

  • Download and install WordPress and create an account.
  • Add records/post in Post content type to be displayed in community.
  • View the response through POSTMAN tool/browser and it will be in JSON format.

For getting post type response –  https://yourdomain/wp-json/wp/v2/

Note: Replace your WordPress site URL instead of your domain the the above response.

Example URL: http://localhost/xyz/wp-json/wp/v2/posts

Remote site setting:

  • It is used for registering the external site with Salesforce org.
  • Once registration is complete, then we can access and share the external site data.

Salesforce setup:

  • Go to setup, enter Remote site setting and click the New button to create the connection.
  • Enter an appropriate name to the Remote site Name and enter the external site URL.
  • Enter the description for your site and save the site.

Note: Replace your Word press site URL in the Remote site URL

Community setup:

  • Go to Setup, enter All sites, and click the community builder.
  • Select your component, drag, and drop it in the community page.
  • The component properties can be changed by using the popup in the right top corner (Example Type of content, category to fetch).
  • Click the “Publish” button to view the post in the Community page.
  • Finally, the Community page will display the posts that are posted in the WordPress.

About MST

At MST Solutions our cornerstone is to adapt, engage and create solutions which guarantee the success of our clients. The talent of our team and experiences in varied business verticals gives us an advantage over other competitors.

Recent Articles

Work with us.

Our people aren’t just employees, they are key to the success of our business. We recognize the strengths of each individual and allow them time and resources to further develop those skills, crafting a culture of leaders who are passionate about where they are going within our organization.