Copy link to clipboard
Copied
Ok for this part of the code
content: {location: {url: "<Path to your PDF/yourfilename.pdf">}},
Can you explain the steps in turn so that the matter is more clear to me? Firstly, where can I upload my pdf file? Then I have to get its url and then go to the developer console and register the domain to get the API. Then I have to copy the complete code to my web page, modify the title, paste the Client ID, paste the url of the pdf file, then follow it with yourfilename.pdf, then modify the file name.
Is there anything wrong, can you explain it to me?
Copy link to clipboard
Copied
You have options for where the PDFs can live, but the simplest is to put them on the same web server as the code you are using for Embed. So if you made "test.html", and put it up on your web server foo.com, you could put "test.pdf" on the same server, and it would be available at https://foo.com/test.pdf (don't click that link, I have no idea what it will load).
For the dev console, all you do is register the domain, let's say foo.com, and we give you a key. You take our sample code and paste in your key where it tells you.