Getting Started
This guide will walk you through the process of setting up your first Checkpoint site.
Generate a site/secret keypair
The first step is to generate a site/secret keypair. This keypair will be always assigned to a single widget and it will be used to identify your widget's site and to verify the requests within the v4Guard's API.
The site key is used to publicly identify your widget's site, and it will be used to invoke the Checkpoint's widget on your site. The secret key will be used only by your backend to verify the token responses from a user's interaction with the widget.
The secret key should never be exposed to the public. It should be kept secret and only used by your backend.
Obtaining a keypair
To generate a keypair, you have to do the following steps:
- Go to v4Guard Dashboard
- Select your company
- Go to Checkpoint on the Service Addons sidebar.
- Select Configure and fill the form with the required information.
- Copy your site key and secret key.
If you already have configured a site, you can find your keypair accessing on the same site, and clicking on the Settings button of the site you want to get the keypair.
Invoking the widget
The next step in the process, is to add the widget to your website.
- Add the following script to your site's
<head>tag. This script will allow you to invoke the widget later on.
- To invoke the widget, refer to the Client-side rendering section.
Validating the response
The last step to fully integrate Checkpoint on your site, is to validate the response from Checkpoint's widget, refer to the Server-side validation section.