You can try running sample Fastly Compute@Edge WASP integration at https://botd-fingerprintjs.edgecompute.app.
Login: human
, Password: iamnotbot
- Fastly account with the Fastly Compute@Edge feature flag enabled.
-
Log in to manage.fastly.com.
-
Click
Create service
, chooseWASM
, optionally rename service. -
Go to the
Service configuration
, edit theDomains
section and add a domain. For testing purposes, you can use{some-name}.edgecompute.app
format. For more information, take a look at Fastly documentation. -
Go to
Hosts
inOrigins
section.4.1. Create a new host with the URL of the web application you want to protect, name it
backend
. For demo purposes, you can also use our sample app withbotd-example-app.fpjs.sh
URL. Click on a pen icon to modify the host, then, select correct TLS setting for your app (in most production cases preserve defaultYes, enable TLS and connect securely using port 443
, for our sample app switch toNo, do not enable TLS. Instead connect using port 80
). Update settings.4.2. Create a new host with the URL of the botd API -
botd.fpapi.io
. Click modify the host, fillName
field asbotd
, chooseYes, enable TLS and connect securely using port 443
setting, clickAdvanced options
at the end of the page and fillOverride host
field asbotd.fpapi.io
.4.3. Create a new host with the URL of the CDN -
openfpcdn.io
. Click modify the host, fillName
field ascdn
, chooseYes, enable TLS and connect securely using port 443
setting, clickAdvanced options
at the end of the page and fillOverride host
field asopenfpcdn.io
.4.4. Create a new host with the URL of the Rollbar -
api.rollbar.com
. Click modify the host, fillName
field asrollbar
, chooseYes, enable TLS and connect securely using port 443
setting, clickAdvanced options
at the end of the page and fillOverride host
field asapi.rollbar.com
. -
Download the
botd-compute-edge-<version>.tar.gz
package from the releases and upload it to thePackage
section. -
Go to the
Dictionaries
section, create a newbotd_config
dictionary.6.1. Add item
token
with authorization token obtained from FingerprintJS.6.2. [OPTIONAL] Add item
disable
with valuetrue
orfalse
. If the value istrue
, middleware will pass all requests as is without calling botd.6.3. [OPTIONAL] Add item
log_endpoint
with logging endpoint name fromLogging
section.6.4. [OPTIONAL] Add item
debug
with valuetrue
orfalse
. If the value istrue
, additional information will be logged to yourlog_endpoint
. -
Activate integration.
-
Test your app on the provided
Domain
with the given sample credentials.
If you want to build and release integration from source code, follow the wiki guidelines.