Simple example of running a codegen app.
Spin up the server:
codegen serve
Spin up ngrok
ngrok http 8000
Go to Slack app settings and set the URL for event subscriptions
{ngrok_url}/slack/events
This will deploy it as a function
modal deploy app.py
Then you can swap in the modal URL for slack etc.