Getting started with Adobe PDF Services API and .Net

Create PDF Hero Image

Developers can get started in just a few minutes with the ready to run sample files provided for accessing all the available web services. This tutorial walks you through all the steps to start running the samples using the PDF Services .Net SDK:

Step 1: Obtaining credentials and downloading sample files

The first step is to obtain a credential (API Key) to unlock use. Sign up for the free trial here and click on ‘Get Started’ to create your new credentials.

Step 1

It’s important to choose a ‘Personal Account’ to sign up for the free trial:


In the next step you’ll choose the PDF Services API Service, then add a name and description for your credentials.

There is a checkbox to ‘Create personalized code sample’. Choose this option to have your new credentials automatically added to your sample files which will save you the manual step of adding them to your project.

Next, choose Node.js as your language to receive the Node.js specific samples and click on the ‘Create Credentials’ button.


You’ll receive a .zip file to download called which can be saved to your local file system.

Step 2: Setup your .Net environment and Run the sample code

  1. Download and install the .Net SDK

  2. Extract the downloaded and unzip the contents

  3. cd to the samples root directory adobe-DC.PDFTools.SDK.NET.Samples

  4. From the samples root directory, run dotnet build

    C:\Temp\PDFToolsAPI\ PDFToolsSDK-.NetSamples\adobe-DC.PDFTools.SDK.NET.Samples>dotnet build

    Now you’re ready to run the sample files!

    These final steps show you how to run your first sample with Create PDF from Word operation:

  5. From the samples root directory change directory to CreatePDFFromDocx folder, cd CreatePDFFromDocx/

    C:\Temp\PDFToolsAPI\ PDFToolsSDK-.NetSamples\adobe-DC.PDFTools.SDK.NET.Samples>cd CreatePDFFromDocx/

  6. run dotnet run CreatePDFFromDocx.csproj

    C:\Temp\PDFToolsAPI\ PDFToolsSDK-.NetSamples\adobe-DC.PDFTools.SDK.NET.Samples\CreatePDFFromDocx>dotnet run CreatePDFFromDocx.csproj

Your PDF will be created in the location designated in the output, which by default is the same folder.

Final thoughts

The PDF Services API can help you eliminate manual processes by automating common workflows and shifting the processing burden to the cloud. In a world where every browser treats PDF differently, leveraging the Adobe PDF Embed API along with the PDF Services API, you can create streamlined, reliable, and predictable processes that run and display correctly every time regardless of platform or device.

Resources and next steps