<p>Is there any way to integrate Salesforce with Craft's <a href="https://craftcms.com/docs/templating/user-registration-form" rel="nofollow noreferrer">front-end user registration form</a>? Is see <a href="https://solspace.com/craft/freeform/docs/crm-api-salesforce/" rel="nofollow noreferrer">Freeform has a nice Salesforce integration</a> but for this project the data needs to be sent across when people create a new member account, and when they update their profile.</p>

<p>Anyone tackled this before? Thanks!</p>

CC BY-SA 3.0
2017-10-21T22:23:17.007Z
You can create your own controller, copy the craft code of the `userController->actionSaveUser()` function to it and change the `action` value in the form to your controller. Then you add your custom logic to the method to call the API. That`s it.
Robin Schambach
CC BY-SA 3.0
2017-10-24T10:50:52.907Z
Thanks Robin. Unfortunately this job has already been passed on to someone else, but good to know it's do-able if this comes up again.
Frank Harrison
<user-profile><registration>
User registration form Solspace integration
# User registration form Solspace integration

(Asked by: username_0 on 2017-10-17)

Is there any way to integrate Salesforce with Craft's [front-end user registration form](https://craftcms.com/docs/templating/user-registration-form)? Is see [Freeform has a nice Salesforce integration](https://solspace.com/craft/freeform/docs/crm-api-salesforce/) but for this project the data needs to be sent across when people create a new member account, and when they update their profile.

Anyone tackled this before? Thanks!

**Tags:** user-profile, registration
> **Comments:**
> **username_1**: You can create your own controller, copy the craft code of the `userController->actionSaveUser()` function to it and change the `action` value in the form to your controller. Then you add your custom logic to the method to call the API. That`s it.  
> **username_0**: Thanks Robin. Unfortunately this job has already been passed on to someone else, but good to know it's do-able if this comes up again.  

---

## 0 answers

