streamlit-paywall-simple-example
Example of creating a streamlit app with a basic paywall to access it: https://paywall-basic-example.streamlit.app/
![image](https://user-images.githubusercontent.com/12496987/211224563-3aef3b45-6ff7-4af4-a030-1f6930bff1ad.png)
Step 1: Create something worth paying for
then add this under the final gated section of the app:
![image](https://user-images.githubusercontent.com/12496987/212495508-723b1d4d-60cc-406d-a773-c7b9f2f6d774.png)
Step 2: Creating a Stripe Payment Link
- Create your own payment link here: https://dashboard.stripe.com/payment-links/create
- You can then add a product and edit the confirmation to include the password for the user:
![image](https://user-images.githubusercontent.com/12496987/212494294-a7a523ce-a9c3-4675-b68b-716f9126fdd4.png)
Step 3: Deploy your streamlit app
https://streamlit.io/cloud
![image](https://user-images.githubusercontent.com/12496987/212495020-641cb3ef-9213-43c5-997d-9671e04a4149.png)
Step 4: set your app's environmental variables
![image](https://user-images.githubusercontent.com/12496987/212494930-66238b65-1c4f-4dcd-829d-e60e360d8fe1.png)
Step 5: edit your app's domain
https://share.streamlit.io/
![image](https://user-images.githubusercontent.com/12496987/212495439-4bbc686c-fd62-4636-ac06-e8642fca97d7.png)
Related Useful Resources:
- Make Money Online using Python + Streamlit | Build a Sales Page to sell Digital Products ๐ค