Getting Started with Adobe PDF Library 21 Using AI Coding Agents

Adobe PDF Library (APDFL) 21 is Datalogics's most capable PDF SDK, built on the same Adobe source code that powers Acrobat. Whether you're working in Modern C++, Adobe C/C++, .NET, .NET Framework, or Java, you can now accelerate your integration using AI coding agents — Claude Code, Codex, Cursor, and others — connected to Datalogics's Scout MCP server.

This guide walks through getting a trial license, connecting your AI agent to Scout, installing APDFL 21 for your language of choice, and putting your agent to work generating and debugging code against the SDK.

TL;DR
  • Connect any MCP-compatible AI client to Datalogics's Scout server to query APDFL APIs, methods, and implementation patterns without leaving your editor.
  • Grab a free trial activation key before writing any code — you'll need it for every language interface.
  • APDFL 21 supports .NET, .NET Framework, Java, Modern C++, and the classic Adobe C/C++ interface, each with its own install path.
  • Modern C++ is a new C++17 interface with RAII resource management and exception-driven error handling; the classic Adobe C/C++ interface remains fully supported.
  • Once Scout is connected, your AI agent can generate starter code, explain API Reference methods, and help debug integration issues.

What Is the Scout MCP Server?

Datalogics exposes Scout, an AI assistant with deep knowledge of the Adobe PDF Library SDK and its documentation, as an MCP (Model Context Protocol) server. Developers using MCP-compatible clients like Claude Desktop, Claude Code, Codex, or Cursor can connect directly to Scout and query the SDK's APIs, methods, and implementation patterns — without leaving their editor.

MCP endpoint: https://datalogics.mcp.kapa.ai

Add this endpoint in your AI client's MCP server settings and authenticate as required by your client.

Once connected, you can ask Scout questions like:

  • "How do I merge two PDFs in APDFL .NET?"
  • "Show me how to add a digital signature in Java."
  • "What's the Modern C++ way to extract text from a PDF?"
Client-Specific Setup
For the specific steps to add https://datalogics.mcp.kapa.ai to Claude Code, Codex, or Cursor's MCP settings, refer to each client's own documentation for adding a remote MCP server endpoint, then authenticate using your Datalogics credentials.

Step 1: Get Your Free Trial License Key

Before writing any code, obtain a free trial activation key:

  1. Visit the Adobe PDF Library free trial page.
  2. Fill out the form and submit.
  3. Save your activation key — you'll need it for every language interface.

Step 2: Connect Your AI Agent to Scout

In your MCP-compatible client (Claude Code, Codex, Cursor, etc.), add the Datalogics MCP server endpoint:

text
https://datalogics.mcp.kapa.ai

Once connected, your AI agent can answer implementation questions, generate boilerplate, and guide you through the SDK — for any of the language interfaces below.

Step 3: Install APDFL 21 for Your Language

.NET (C# / VB.NET)

Install via NuGet:

  1. In Visual Studio 2022 or VS Code, go to Tools → NuGet Package Manager → Manage NuGet Packages for Solution.
  2. Search for Datalogics and select Adobe.PDF.Library.LM.NET.
  3. Install and accept the license terms.

Activate your license in code:

csharp
Library.LicenseKey = "xxxx-xxxx-xxxx-xxxx";
using (Library lib = new Library())
{
    // Your APDFL code here
}

Or run a sample via the dotnet CLI:

bash
cd ./Images/RasterizePage
dotnet build
dotnet run

Resources:

.NET Framework (C# / VB.NET)

The setup mirrors .NET above — install Adobe.PDF.Library.LM.NET via NuGet in Visual Studio 2022.

Resources:

Java (Maven)

Install via Maven:

  1. Go to Datalogics Adobe PDF Library on Maven Central.
  2. Copy the dependency snippet and paste it into the dependencies section of your pom.xml:
pom.xmlxml
<dependency>
    <groupId>com.datalogics.pdfl</groupId>
    <artifactId>pdfl</artifactId>
    <version><!-- latest version --></version>
</dependency>
  1. Provide your activation key when prompted on first run.

Resources:

Modern C++

APDFL 21 introduces a NEW Modern C++ interface built on C++17, featuring:

  • RAII-based resource management (no manual tracking or releasing)
  • Exception-driven error handling
  • std::unique_ptr / std::shared_ptr ownership models
  • Strongly typed flags and a unified datalogics_interface namespace
Compiler Requirements
Modern C++ requires a C++17 compiler: MSVC 19.3+ (Visual Studio 2022), Clang 18+ on Linux Rocky 9+, or Apple Clang 16.4+ on macOS 15+.

Resources:

Adobe C/C++ (Classic Interface)

The original Adobe C/C++ interface remains fully supported in APDFL 21. Existing integrations continue unchanged — migration to Modern C++ is optional.

Classic Interface Still Supported
Adobe C/C++ isn't deprecated — it's fully supported alongside Modern C++. Treat this as your existing-integration path, not a legacy one to migrate away from unless you want the newer RAII-based API.

Resources:

Step 4: Ask Your AI Agent to Help You Build

With Scout connected via MCP, your AI coding agent can:

  • Generate starter code for your chosen language.
  • Explain specific API methods and classes from the API Reference.
  • Help debug integration issues.
  • Suggest the right APDFL approach for your PDF workflow.

Additional Resources

ResourceLink
Full Developer Documentationdev.datalogics.com
Full API Reference Hubdocs.datalogics.com/apdfl21
Discord Communitydiscord.gg/jNSHcSdRre
Technical Supportdatalogics.com/tech-support-pdfs
Customer Portalportal.datalogics.com
Extend Your Free Trialevalsupport@datalogics.com

Next Steps

  • Grab your free trial license key and pick the language interface that fits your project.
  • Connect your AI client to https://datalogics.mcp.kapa.ai and start querying Scout directly from your editor.
  • Contact Datalogics if you need help scoping your integration.