Why Use the SOAP API?
The SOAP API provides a programmatic way to create users in Marketing Cloud, which is essential for automating user provisioning from an HR system like Workday to Okta and then to Salesforce. This approach allows for seamless integration and reduces manual effort.
The root cause of the challenge is the lack of a built-in feature in Marketing Cloud to automate user provisioning. However, the SOAP API provides a viable solution to this problem.
Implementing the Solution
To implement the solution, you will need to create a process that uses the SOAP API to create SFMC users. This can be done through an integration solution that connects your HR system to Marketing Cloud.
soap-api-example.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<CreateUser>
<user>
<userName>newuser</userName>
<password>password123</password>
</user>
</CreateUser>
</soapenv:Body>
</soapenv:Envelope>
Best Practices and Considerations
When implementing the solution, it is essential to consider the security and maintenance implications. As one community member noted, leaving an API user-creation solution in place long-term may not be reasonable, and it is crucial to weigh the benefits against the potential risks.
Heads up: make sure to follow best practices for API security and maintenance to avoid any potential issues.
Checklist for Implementing the Solution
Pre-Implementation Checklist
- Review the Marketing Cloud SOAP API documentation
- Plan the integration with your HR system and Okta
- Consider the security and maintenance implications
- Develop a process for creating SFMC users through the SOAP API
- Test the solution thoroughly before implementing it in production
- Monitor and maintain the solution to ensure it continues to work as expected
Frequently Asked Questions
What is the best way to automate user provisioning in Marketing Cloud?
The best way to automate user provisioning in Marketing Cloud is to use the SOAP API to create SFMC users.
Can I use the Marketing Cloud UI to automate user provisioning?
No, the Marketing Cloud UI does not provide a built-in feature for automating user provisioning. The SOAP API is the recommended approach.
How do I handle security and maintenance for the API user-creation solution?
It is essential to follow best practices for API security and maintenance, such as monitoring and maintaining the solution, to avoid any potential issues.
Can I use an integration solution to connect my HR system to Marketing Cloud?
Yes, an integration solution can be used to connect your HR system to Marketing Cloud and automate user provisioning.
Need help shipping this in production?
Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.