Generate a Base64 Encoded User Name and Password
A Base64 encoded user name and password is required for the access token requests in the REST connections that you will configure later in this document.
Which User Name and Passwords Do I Need To Encode?
For this accelerator, you need to:
- Generate an encoded version of your Primavera Cloud user name and password. This encoded version will be used in the access token request in the connection named OPC Rest API (the second Primavera Cloud connection).
- Generate an encoded version of your Unifier user name and password. This encoded version will be used in the access token request in the connection named Unifier token (the second Unifier connection).
How Do I Encode the User Name and Password?
To generate an encoded version of your user name and password:
- Go to https://www.base64encode.org/.
-
Enter the user name and password in the following format:
username:password
- Click Encode.
Where Do I Enter the Encoded User Name and Password in the Access Token Request?
Once generated, you can copy the encoded user name and password and paste it in the appropriate location of your access token request.
Specifically, you will:
- Replace the variable
<Base64-encoded-username-and-password>
in the access token request example in the connection named OPC Rest API (the second Primavera Cloud connection) with the encoded Primavera Cloud user name and password. - Replace the variable
<Base64-encoded-username-and-password>
in the access token request example in the connection named Unifier token (the second Unifier connection) with the encoded Unifier user name and password.