Have a look at the documentation. It’s pretty good and gives you a step by step run through of what you need to do. https://docs.mendix.com/studio-how-to/pages-how-to-attach-files Hope this helps.
Thank you Robert