Use Aura and Lightning Web Components Outside of Salesforce with Lightning Out (Beta)
To run components outside of Salesforce servers, use Lightning Out,
a special type of standalone Aura app. Whether it’s a Node.js app running on
Heroku or a department server inside the firewall, add your components as
dependencies to a Lightning Out app. Then run the Lightning Out app wherever
your users are.
Lightning Out supports both Aura components and Lightning web components. The setup process is the same for both component frameworks. We recommend using Lightning web components for the most modern, performant, and responsive functionality.
See Use Components Outside Salesforce with Lightning Out (Beta) in the Lightning Web Components Developer Guide.