Getting credentials for Microsoft Power Automate

Microsoft Power Automate provides a powerful way for citizen developers and developers to create powerful automated processes to improve their businesses without writing code. Adobe PDF Services connector, as part of Adobe Document Services, allows users to perform any of the actions available in Adobe PDF Services API within Microsoft Power Automate.

In this tutorial, learn how to get credentials to start using or trialing Adobe PDF Services. Depending on whether you are a trial user or an existing customer, this tutorial walks through the proper steps to get credentials.

How can Microsoft Power Automate users start using Adobe PDF Services connector?

Existing Microsoft Power Automate users can get trial credentials for Adobe PDF Services. The link above is a special signup link to help in this process specifically for Microsoft Power Automate users.

Adobe Developer user sign in

IMPORTANT

If you are logging in for a trial, you must use an Adobe ID and not an Enterprise ID. If you are not a current subscriber to Adobe PDF Services API and try to log in with your Enterprise ID, you may get a permissions error because your enterprise has not entitled you to use Adobe PDF Services API. For this reason, it is recommended you use a personal Adobe ID which is free.

  1. After signing in, you are prompted to select a name for your new credentials. Enter your Credential Name.

  2. Select the checkbox to agree to the developer terms.

  3. Select Create Credentials.

    Naming your credentials

These credentials cover five different values:

  • Client ID (API Key)
  • Client Secret
  • Organization ID
  • Technical Account ID
  • Base64 (Encoded Private Key)

New credentials

A JSON file containing all of these values is also automatically downloaded to your system. This file is named pdfservices-api-pa-credentials.json and looks like:

{
 "client_id": "client id value",
 "client_secret": "client secret value",
 "organization_id": "organized id value",
 "account_id": "account id value",
 "base64_encoded_private_key": "base64 version of the private key"
}

Store this file in a secure location because it is not possible to get a copy of the private key again.

Add connection in Microsoft Power Automate

Now that you have your credentials, you can begin using them in Microsoft Power Automate flows.

  1. In the sidebar menu, open the Data menu and select Connections:

    Connections menu in the Microsoft Power Automate site

  2. Select + New Connection.

  3. The next screen shows a list of possible connection types. In the upper right-hand corner, enter “adobe” to filter the options:

    List of Adobe connections

  4. Select Adobe PDF Services (preview).

  5. In the modal window, enter all five values you generated earlier. Select Create when done.

    Form fields to enter credential information

You are now ready to use Adobe PDF Services in Microsoft Power Automate.

Accessing credentials after they are created

If you already created credentials and misplaced the downloaded credentials, you can retrieve them again in Adobe Developer Console.

  1. After logging in to Adobe Developer Console, first find your project and select it.

  2. In the left-hand menu under Credentials, select Service Account (JWT):

    Existing credentials

  3. Note the five values that are presented here: Client ID, Client Secret, Technical Account ID, Technical Account Email, and Organization ID.

Unfortunately, you cannot download the previous private key, but you can use the “Generate a public/private keypair” button to create a new one.

Using existing Adobe PDF Services credentials

If you have existing Adobe PDF Services API credentials generated from Adobe Document Services website, you can use them with Microsoft Power Automate. If you downloaded an SDK while signing up, your existing credentials came in the form of a JSON file most likely named pdfservices-api-credentials.json. That JSON file contains the five keys needed when creating your connection credentials. Copy each value from the JSON file into the corresponding connection field.

Your private key value comes from a second file named private.key.

You can also get the values from Adobe Developer Console as described above.

How can Adobe Document Services users start working with Microsoft Power Automate?

To get started working with Power Automate, first head to https://powerautomate.microsoft.com and use the “Start free” button. If you do not have a Microsoft account you need to make one. After signing in, you are presented with the Power Automate dashboard.

PA dashboard, initial view

As described at the beginning of this tutorial, create a new flow, add a step, and find the Adobe PDF Services. Select an action, and you may be warned that a premium account is required.

Premium account warning

As the screenshot above shows, you can either switch to a work account or set up a new organization account. Once you have, you are then able to add the Adobe PDF Services action.

For a deeper look at creating your first Microsoft Power Automate flow with Adobe Document Services, see Create your first workflow in Microsoft Power Automate.

Additional resources

To help you more, here is a list of additional resources:

On this page