Search code examples
htmlherokusalesforcesalesforce-lightningheroku-cli

I need to run and fill Salesforce Web-to-lead form on herokuapp


I generated a Web-to-lead in Salesforce form, received an html file, installed a heroku CLI and registered in heroku. What should I do next to run this form in an html file and create a new record in the Lead object in Salesforce. I need a detailed answer as a beginner.


Solution

  • You have a static html page you want to upload somewhere to Heroku. Heroku doesn't do "static" stuff, you can "trick" it into treating your page as a PHP project.

    Have you seen posts like

    Or really you could follow any detailed Heroku "getting started" guide: https://devcenter.heroku.com/start