Alright, because there is nothing online that I could find showing people how to do this, I decided to record it myself so I could get back to this later.
Generate the new rails app
$rails new <app_name> --webpack=stimulus --skip-sprockets -T --database=postgresql