Before you start: Read the general Akamai guideThis document only covers deploying the Fingerprint Akamai proxy integration using the Akamai Property Manager API (PAPI). It assumes you have already read the general Akamai guide and completed the following steps:
- Step 1: You have issued a proxy secret in the Fingerprint Dashboard (
FPJS_PROXY_SECRET). - Step 2: You have defined the path variables for the integration (
FPJS_INTEGRATION_PATH,FPJS_AGENT_PATH,FPJS_RESULT_PATH) If you want to use Terraform instead of PAPI to install the integration, see Deploy Akamai proxy integration using Terraform.
Prerequisites
This deployment guide assumes you already have a working Akamai property and are familiar with the Akamai Control Panel. It uses Postman to make the HTTP requests, but feel free to adjust the instructions to use your preferred HTTP client.Step 3: Authenticate with EdgeGrid
- Follow the Akamai documentation to Create EdgeGrid authentication credentials. You should end up downloading a credentials text file containing the values used below.
- Inside Postman, use the values from the credentials file to configure the EdgeGrid authentication for your HTTP requests:
- Go to the Authorization tab.
- Set the Type to
Akamai EdgeGrid. - Set
Access Token,Client Token, andClient Secretto the values from the credentials file. - Set the base URL of the request according to the
hostvalue from the credentials file, e.g.https://akab-xxxxxxxx.luna.akamaiapis.net.
Note: If your HTTP client does not support EdgeGrid authentication, you can use the same values to manually create the EdgeGrid authentication header. See the EdgeGrid Protocol Specification for more details.
Step 4: Clone the Akamai integration repository
- Clone the repository:
- Install dependencies using PNPM:
Step 5: Generate Patch Body
Use thebuild npm command to generate the integration’s property rules for your Akamai property. Use the values from previous steps to configure the command:
integration-path,agent-path, andresult-pathshould be short, unique strings — avoid usingfpjsor other recognizable words.proxy-secretcan be created in Fingerprint Dashboard → API Keys.
dist/patch-body/body.json.
Step 6: Deploy using Property Manager API
Use the following sequence of PAPI requests to collect the necessary data and deploy the integration.baseURLis created from thehostvalue from the credentials file, e.g.https://akab-xxxxxxxx.luna.akamaiapis.net.- Authenticate all requests using EdgeGrid credentials as described in Step 3.
Step 6.1: Get your Contract ID
request
contractId to use in later requests.
Step 6.2: Get your Group ID
request
groupId associated with your contractId to use in later requests.
Step 6.3: Get your Property ID
request
propertyId and latestVersion to use in later requests.
Step 6.4: Get your Property Versions (optional but recommended)
To make changes to your property, you first need to clone one of its versions. To decide which version to clone, you can get the list of all versions for your property.request
Step 6.5: Clone the current version of your property
request
Step 6.6: Remove existing Fingerprint artifacts (if needed)
If your Akamai property already has the Fingerprint proxy integration installed, manually remove the Fingerprint artifacts before updating the integration. Otherwise, some artifacts will be duplicated and the integration will not work.- Navigate to Akamai Control Center → Properties.
- Find the cloned property version.
- Click Edit to begin editing rules.
- Navigate to the Variables section and remove all variables that start with
PMUSER_FPJS_. - Scroll to the bottom of the rule tree and delete the rule named Fingerprint.
- Click Save to confirm the cleanup.
Step 6.7: Patch the new version with Fingerprint integration rules
Finally, send a PATCH request to update your property’s rule tree with the Fingerprint integration rules:request
- Request body: Copy-paste the content of the
dist/patch-body/body.jsonfile you created in Step 5. - Content-type: header
application/json-patch+json
Step 6.8: Activate the Patched Version
- Request body:
Troubleshooting API requests
If you encounter an error, check the following:| Issue | Resolution |
|---|---|
403 Unauthorized | Ensure your EdgeGrid credentials are correct and Postman is configured properly. |
409 Conflict | You are trying to patch an already active version. Clone a new version first. |
400 Bad Request | Check that your patch body is valid JSON and that Content-Type is set correctly. |
| Activation status unknown | Use the Akamai Control Center to monitor activations. The Property Manager API does not support progress polling. |