Understanding the Requirements
To publish a custom app on AppExchange, you need to meet certain requirements, including paying a fee of $1000. Once this is taken care of, you can start the integration process.
Integration with SFMC
The first step is to integrate your app with SFMC. This involves creating a CloudPage and using SSJS to secure it. You can find more information on this process in the SF Marketing Cloud blog and SF Marketing. Additionally, you can use SSJS to secure CloudPages.
Creating a Custom Activity in Journey Builder
Once your app is integrated with SFMC, you need to create a custom activity in Journey Builder. This will allow users to drag and drop your activity into their Journey Builder canvas. You can find more information on this process in the SFMC Developer Group.
The root cause of the issue is the lack of understanding of the AppExchange partner program and the requirements for publishing a custom app.
Uploading to AppExchange
After creating your custom activity, you can upload your app to AppExchange. This will make it available for download by other SFMC users. You can find more information on this process in the AppExchange documentation.
example.ssjs
/* example SSJS code to secure CloudPages */
var currentPage = Platform.Function.GetCurrentPage();
var clientId = "YOUR_CLIENT_ID";
var clientSecret = "YOUR_CLIENT_SECRET";
var authEndpoint = "https://auth.marketingcloudapis.com/v1/requestToken";
var headers = {
"Content-Type": "application/json"
};
var payload = {
"client_id": clientId,
"client_secret": clientSecret
};
var response = HTTP.Post(authEndpoint, headers, payload);
var token = response.ResponseObject.access_token;
/* use the token to authenticate requests */
Heads up: make sure to replace the placeholders with your actual client ID and client secret.
Conclusion
In conclusion, publishing a custom SMS and WhatsApp sending app on SFMC AppExchange requires a series of technical steps, including integration with SFMC, creating a custom activity in Journey Builder, and uploading to AppExchange.
Checklist
- Pay the AppExchange fee
- Integrate your app with SFMC using CloudPages and SSJS
- Create a custom activity in Journey Builder
- Upload your app to AppExchange
- Test and validate your app
- Monitor and maintain your app
What is the cost of publishing an app on AppExchange?
The cost is $1000.
How do I integrate my app with SFMC?
You can integrate your app using CloudPages and SSJS.
Can I create a custom activity in Journey Builder?
Yes, you can create a custom activity in Journey Builder.
How do I upload my app to AppExchange?
You can upload your app to AppExchange by following the documentation on the AppExchange website.
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.