How to upload a PDF to database and get the URL and S3 link?

Possibly stupid question, but I want to manually upload a PDF to the database and from there be able to share the Amazon S3 link to it. I’m not sure how to get the link after I upload the file

Upload via File Manager and copy the link?