https://anvil.works/build#clone:J3Q42AMB6X7GZ7YY=BXH74QZT2ZFC4IYR7BG3IUTQ
here is a simple example of embedding a pdf from your datatable on the front end form.
Im not sure if the endpoint or custom html will be available to you if you are on free account though.