• #26838
    Forcetalks

    How to create one-way integration from WordPress to Salesforce?

    How to create one-way integration from WordPress to Salesforce?

     

    #27524
    Salesforce | Manpreet Manpreet #52
    Forcetalks

    Hi Amresh,

    Wordpress to salesforce is supported using rest api. You can find developemt resources on wordpress.org. It has public api with Auth2 support.Basically you need an access_token with every request to get salesforce data. In order to obtain one, you need to first authenticate with your Salesforce organization. This can be done through OAuth, which is recommended way instead of hardcoding credentials.

    You must create a ‘Connected app’ in salesforce by registering your wordpress application details. By doing so salesforce creates a Client ID and Client Secret for you application. When you first authenticate with salesforce, provide these 2 values along with the request. This will redirect you to Salesforce authentication page where, upon successful authentication, you will be redirected to a web page which you mentioned in ‘redirectURI’ parameter(This can be you initial page where you made the authentication request in you application).Once redirected, you’ll have an additional parameter in the response, authorization code.

    Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?