Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

To use Adobe PDF Embed API, generate its client ID through Adobe’s PDF Embed credential workflow, associate that ID with the domain where your viewer will run, and pass it to the JavaScript viewer when you initialize it. This is a browser-side credential for embedding and displaying PDFs; it is not the credential flow for Adobe PDF Services API.

What credential do you need?

PDF Embed API uses a client ID generated through Adobe’s credential workflow. The ID is supplied when your page initializes Adobe’s JavaScript viewer. Adobe’s getting-started guide identifies the client ID as a prerequisite and explains that it is associated with the website domain where the viewer will be used.

This is different from a secret or access token used to authenticate certain document-processing operations. Do not copy instructions for PDF Services API credentials into an Embed API integration: they are separate products and authentication paths. Adobe’s Acrobat Services overview distinguishes the PDF Embed API from the other services.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Get an Adobe PDF Embed API client ID

  1. Open Adobe’s PDF Embed API product page and follow its credential-generation link.

    #1 Best Overall
    Adobe Acrobat Pro | PDF Software | Convert, Edit, E-Sign, Protect | PC/Mac Online Code | Activation Required
    • Create and edit PDFs. Collaborate with ease. E-sign documents and collect signatures. Get everything done in one app, wherever you go.
    • Edit text and images without jumping to another app.
    • E-sign documents or request e-signatures on any device. Recipients don’t need to log in to e-sign.
    • Convert PDFs to editable Microsoft Word, Excel, or PowerPoint documents.
    • Share PDFs for collaboration. Commenting features make it easy for reviewers to comment, mark up, and annotate.
  2. Complete Adobe’s credential workflow to generate the client ID. Keep the ID available for the page that will initialize the viewer.

  3. Associate the credential with the website domain on which the PDF viewer will run. Use the deployment domain, not a different development or production domain by assumption; the domain used by the viewer must match the one registered to the ID.

  4. Add Adobe’s viewer JavaScript to the page, provide a rendering container, initialize the viewer with the client ID, then call previewFile with the PDF content and its metadata. Adobe publishes JavaScript, React, and Angular examples through its PDF Embed API how-tos.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Adobe describes PDF Embed API as free to use on its product page. That statement applies to PDF Embed API; it should not be generalized to every Acrobat Services API.

Register the domain where the viewer runs

Domain registration is a functional part of setup, not just descriptive account information. Adobe validates the client ID and domain after the first PDF page renders. Its getting-started documentation explains that if the ID is incorrect or is being used on a domain other than the one registered, the preview is blocked.

Rank #2
Sale
Adobe Acrobat Studio | PDF Software | Create and edit PDF’s with AI Insights | 12-Month License | PC/MAC Online Code | Activation Required
  • Transform static files into dynamic workspaces with instant answers and insights using PDF Spaces.
  • Generate new ideas, summarize information, and get next steps with pre-built or customized assistants.
  • Effortlessly create standout content using Adobe Express templates, creative assets, and design tools that bring your content to life.
  • Create, organize, edit, and sign your documents with a complete set of PDF tools.
  • Convert PDFs to editable Microsoft Word, Excel, or PowerPoint documents.

Plan for every origin where you intend to run the viewer. For example, a local development site and a production site may have different domains. Make sure the ID is associated with the domain that will actually serve the viewer, and check the registered value if the first page does not render. The available documentation establishes the domain-match requirement but does not specify a universal list of accepted domain formats, so follow the options Adobe presents in the credential workflow.

Initialize the viewer with the client ID

The integration has four essential pieces: Adobe’s viewer script, a container element, the client ID in the viewer initialization, and a call to previewFile that supplies the PDF and metadata. Adobe provides framework-specific samples as well as JavaScript guidance in its how-tos. Use those samples for the precise setup that matches your application and PDF delivery method.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not put a PDF Services API secret or access token into the browser viewer initialization. The Embed API setup described here calls for a client ID.

Test the deployment and diagnose a blocked preview

Test the viewer on the actual domain where it will be deployed. Adobe’s validation occurs after the first page renders, so a credential appearing in the page source is not by itself proof that the setup is valid.

If the preview is blocked

These checks follow Adobe’s documented validation behavior: a wrong ID or domain mismatch prevents the preview from displaying. The supplied Adobe documentation does not establish additional universal error messages or a single troubleshooting sequence for every hosting setup.

If annotation is part of your mobile experience

Adobe’s getting-started guide documents that annotation tools are not supported on phones in Full Window mode. Check this constraint against your intended mobile design if users need to annotate PDFs. Adobe also lists browser support by operating system in that guide; consult the current compatibility notes for the browsers and devices you plan to support.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep PDF Embed API separate from PDF Services API

Choose the integration based on what the application needs. PDF Embed API puts a JavaScript-based viewer on a web page. PDF Services API covers separate document-processing capabilities and has its own getting-started and authentication flow. Adobe’s services overview is the relevant starting point if you are deciding between those categories.

Best Value
Adobe Acrobat Standard | 12-Month Subscription with Auto-Renewal | PDF Software | Convert, Edit, E-Sign, Protect |PC/Mac Download | Activation Required
  • Create PDF's: Convert any Office file, image, or web page into a high-quality PDF that looks great on any device — desktop, tablet, or smartphone.
  • Convert PDF's: Work seamlessly with PDF files, right inside Microsoft 365. You can convert your files with the built-in PDF converter or work with Microsoft 365 files in Acrobat.
  • Edit PDF's: Change text and images without leaving your PDF. With Acrobat, it’s easy to edit PDF documents from anywhere, on any mobile device.
  • Share PDF's: PDF sharing and reviewing is easy. You can share a link and then review and manage all your feedback online or from your mobile device in one organized place.
  • Sign PDF's: Share, track, and manage all your signed documents virtually from anywhere

For a page that embeds and displays a PDF, follow the Embed API client-ID flow described above. If your application instead needs document-processing operations, consult the PDF Services API documentation rather than treating the Embed API client ID as a substitute for its credentials.

Or skip the browser setup

ScreenshotNeo is a separate website screenshot API and MCP server, not an Adobe PDF Embed credential or an embedded PDF viewer. If your goal is to capture a webpage as an image or PDF rather than display an interactive PDF inside your site, one GET request can return a screenshot. See the ScreenshotNeo website and API documentation.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo removes cookie and consent banners, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and the response reports the page verdict and billing status in headers. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents and other MCP clients.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Every feature is available on every plan. Sign up for ScreenshotNeo’s free plan to try it without a card.

Frequently Asked Questions

Can I use the PDF Embed API client ID as a PDF Services API credential?

No. PDF Embed API uses a client ID for browser viewer initialization; PDF Services API has a separate credential and authentication workflow.

Does the Embed API client ID work on any website domain?

It must be associated with the domain where the viewer runs. Adobe validates the ID/domain relationship after the first PDF page renders.

Quick Recap

Bestseller No. 1
Adobe Acrobat Pro | PDF Software | Convert, Edit, E-Sign, Protect | PC/Mac Online Code | Activation Required
Adobe Acrobat Pro | PDF Software | Convert, Edit, E-Sign, Protect | PC/Mac Online Code | Activation Required
Edit text and images without jumping to another app.; Convert PDFs to editable Microsoft Word, Excel, or PowerPoint documents.
$239.88
SaleBestseller No. 2
Adobe Acrobat Studio | PDF Software | Create and edit PDF’s with AI Insights | 12-Month License | PC/MAC Online Code | Activation Required
Adobe Acrobat Studio | PDF Software | Create and edit PDF’s with AI Insights | 12-Month License | PC/MAC Online Code | Activation Required
Create, organize, edit, and sign your documents with a complete set of PDF tools.; Convert PDFs to editable Microsoft Word, Excel, or PowerPoint documents.
$209.99
Bestseller No. 3
PDF Extra Lifetime - Professional PDF Editor - Best Adobe Acrobat Pro Alternative - Lifetime License for Windows PC
PDF Extra Lifetime - Professional PDF Editor - Best Adobe Acrobat Pro Alternative - Lifetime License for Windows PC
Perfect Adobe Acrobat Pro alternative – lifetime license for Windows 10 and 11.; EDIT text, images, pages, hyperlinks, designs in PDF documents. ORGANIZE PDFs.
$99.99
Bestseller No. 4
Adobe Acrobat Pro 2024| PC/Mac Code | Software Download | PDF Software | 3-year term license | non-renewing | Activation Required
Adobe Acrobat Pro 2024| PC/Mac Code | Software Download | PDF Software | 3-year term license | non-renewing | Activation Required
Work securely offline — without connecting to the cloud — with desktop-only PDF tools.
$324.00
Bestseller No. 5

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.